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.

Options include

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

Further information

man cat