Displaying files with the cat command

Displaying files with the cat command

The cat command is useful for displaying short files of a few lines. To display longer files use an editor or pager.

To display the contents of a file use the command:

   cat filename

Top document