cat – Concatenate and print files


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.


-n number_lines
Number the output lines from the beginning.

Further information

man cat