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

-n number_lines
Number the output lines from the beginning.

Further information

man cat


2021-12-19