cat
Concatenate and print files. Useful for quick previews and piping.
Synopsis
cat [options] [file]
Core Options
-nNumber all output lines.
-bNumber non-blank lines.
-AShow all characters (tabs, line endings).
-sSqueeze repeated empty lines.
Usage Examples
Print File
Output file contents.
cat README.mdNumber Lines
Show line numbers.
cat -n app.logConcat Files
Merge files into one.
cat part1.txt part2.txt > full.txtBuilt for builders.