---

How to Use ‘cat’ Command in Linux with Examples

This guide will teach you how to use the cat command in Linux. All the below examples were tested on RHEL/CentOS 7.6.

‘Cat’ is one of the most commonly used commands in Linux operating systems (short for “concatenate”). This is a standard Unix command that concatenates and displays files. Using the cat command, you can read and write data from standard input and output devices.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis