June 2003
Beginner to intermediate
944 pages
43h 1m
English
cat
cat [options] [files]Read (concatenate) one or more files and print them on standard output. Read standard input if no files are specified or if - is specified as one of the files; input ends with EOF. You can use the > operator to combine several files into a new file or >> to append files to an existing file.
Same as -vET.
Number all nonblank output lines, starting with 1.
Same as -vE.
Print $ at the end of each line.
Number all output lines, starting with 1.
Squeeze down multiple blank lines to one blank line.
Same as -vT.
Print TAB characters as ^I.
Ignored; retained for Unix compatibility.
Display control and nonprinting characters, with the exception of LINEFEED and TAB.
cat ch1Display a filecat ch1 ch2 ch3 > allCombine filescat note5 >> notesAppend to a filecat > temp1Create file at terminal; end with EOFcat > temp2 << STOPCreate file at terminal; end with STOP
Read now
Unlock full access