Introduction
Sometimes you want to quickly see what is inside a file without opening a text editor. The cat command shows the contents of a file right in the terminal window.
When you want to read a short text file quickly without opening an editor.
When you want to combine multiple files into one by displaying them together.
When you want to check the contents of a configuration file to verify settings.
When you want to pipe the contents of a file into another command for processing.
When you want to create a new file by typing text directly into the terminal.