cat command
Use the cat command to read each File parameter in sequence and writes it to standard output.
See the following examples:
- To display the contents of the file notes,
type the following:
If the file is more than 24 lines long, some of it scrolls off the screen. To list a file one page at a time, use the pg command.cat notes
- To display the contents of the files notes, notes2,
and notes3, type the following:
cat notes notes2 notes3