cat [options] [files]Read 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; end input with EOF. Use the > shell operator to combine several files into a new file; >> appends files to an existing file.
-bLike -n, but don't number blank lines. Solaris only.
-ePrint a $ to mark the end of each line. Must be used with -v.
-nNumber lines. Solaris only.
-sSuppress messages about nonexistent files. (Note: On some systems, -s squeezes out extra blank lines.)
-tPrint each tab as ^I and each form feed as ^L. Must be used with -v.
-uPrint output as unbuffered (default is buffered in blocks or screen lines).
-vDisplay control characters and other nonprinting characters.
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