⌘K
Examples (5)
Print the contents of a file to `stdout`
cat path/to/fileConcatenate several files into an output file
cat path/to/file1 path/to/file2 ... > path/to/output_fileAppend several files to an output file
cat path/to/file1 path/to/file2 ... >> path/to/output_fileCopy the contents of a file into an output file without buffering
cat -u /dev/tty12 > /dev/tty13Write `stdin` to a file
cat - > path/to/filemade by @shridhargupta | data from tldr-pages