The cat command is used to ‘concatenate and print files’. Here, the term ‘print’ simply means to display the content of a file to the
standard output device, typically the console. This command is only useful with common text files.
An example of its use is:
Johns-Mac-mini:~
jpurvis$ ls Desktop/
BitTorrent Sync Scott jpurvis alias
IMG_0204.jpg cat.txt w.jpg
Johns-Mac-mini:~ jpurvis$ cat Desktop/cat.txt
This is a test of the ‘cat’ command
This command is useful to display the content of a file.
The Apple Man page for the ln command can be seen here.
See my other CLI articles