December 2012
Intermediate to advanced
888 pages
48h 24m
English
To view the contents of a text file named filename on your screen, use this command:
matthew@seymour:~$ cat filename
Notice that the text is displayed on your screen but that you cannot edit or work with the text in any way. This command is convenient when you want to know the contents of a file but don’t need to make any changes. Text editors for the terminal are covered in Chapter 10, “Command-Line Master Class.” This command works best with short files because the contents of longer files will scroll off of the screen too quickly to be read.
Read now
Unlock full access