cat – Concatenate and print files

Syntax

cat {option} {file}

The cat utility reads files sequentially and writes them to the standard output.

The cat utility can join together the pieces generated by the split utility.

The cat utility exits with the value 0 on success, and with positive integer value if an error occurred.

Options include

-b
Number the non-blank output lines, starting at 1.
-n
Number the output lines, starting at 1.

Further information

man cat


2022-01-30