cat
π± cat, tac, and Piping Commands in Linux
cat, tac, and Piping Commands in Linuxπ Command & Option Table
Command / Option
Description
π Basic Usage
View File Content
View Multiple Files
Create a File (from Input)
Append to an Existing File
π’ Numbering Lines
Number All Lines
Number Non-Empty Lines Only
π§Ή Clean Output
Squeeze Blank Lines
Show End of Line Characters
π Reverse Output
Use tac to Reverse Lines
tac to Reverse Linesπ€ Piping with cat
catFilter with grep
grepSort Lines
Scroll with less
lessπ Merge Files into One
Save Merged Output to a New File
Append More Content to Merged File
Last updated