OpenWindows Advanced User's Guide

3.2.7 Displaying File Contents (more, cat)

Use the more command to display the contents of a file. Type more followed by the name of the file to be displayed. The contents of the file scrolls down the screen. If the file is longer than one screen, this message appears:

--More--(nn%)  [Press space to continue, `q' to

where nn is the percentage of the file already displayed.

You can also use the cat command to display the contents of a file, but it flashes through the entire file rapidly without pausing. The cat (concatenate) command is more often used to join two or more files into one large file, as in this example:

$ cat file1 file2 file3 > bigfile
$ ls *file

For further information on the more(1) or cat(1) commands, refer to the man Pages(1): User Commands.