maux
Star on GitHub Buy me a coffee

Manual / cat

cat(1)

CAT(1) General Commands Manual CAT(1)

cat - concatenate and print

cat [file...]

Cat reads each file in sequence and writes it on the standard output stream. Thus:

cat file

is about the easiest way to print a file. Also:

cat file1 file2 >file3

is about the easiest way to concatenate files. If no input file is given, cat reads from the standard input file. Bytes are copied without changing their representation. A file which cannot be opened is reported and skipped.

/usr/man/CAT this page

cp(1), tee(1), licenses(1)

Exit status is 0 on success, 1 if an input file cannot be opened.

No options are implemented. A named file is not the same as an option; use no operands to read standard input.

September 19, 2026 maux