cat

Print the full contents of a file

cat outputs the entire file to the terminal. Best for short files; for large files it floods your terminal. cat -n numbers the lines.

Example

$ cat /etc/hostname
prod-api-01
Tip: Type it yourself in the terminal below - reading is not the same as doing.