The contents of a text file can be viewed one page at a time by using the
more command:
more <textfilename>
A page will be displayed at your screen, and more will then pause
with the message '-More-' followed by a percent sign and a number. The
number represents the percentage of the file that you have already seen,
i.e. '-More-(5%)' means that you have 95% more text to view.
Commands can be entered while more is paused. Some of the commands
to control more are as follows:
(n)<CR> Scroll forward n lines at a time. Default is one line.Another way of displaying text files is with the cat command:<spacebar> Advance to next page of the file.
(n) b Page back n pages. Default is one page.
q Quit showing the document.
cat <textfilename>[<textfilename>..]
The name 'cat' comes from 'concatenate', and that is exactly what
cat does when supplied with multiple text files. When used
with only one file argument, the cat command concatenates that
file with a null file, then sends the file to stdout, the terminal
screen. In English, this displays the contents of the file on your
screen. Displaying files with cat has the disadvantage of not
stopping the scroll at every screenful, you must use <ctrl-s,ctrl-q>
to stop and start the output respectively. To join two or more files
into a single file, issue:
cat <filename1> <filename2> [<filename3>..]
<outputfilename>