next up previous

1.6.1 more, less, cat

Allows you to read a file without making changes.

Examples
more README
shows the README file one screen at a time. Press return to continue line by line. Press the space bar to continue screen by screen, or press q to quit. d will scroll down half a screen length. The prompt will return when the whole file has been shown.
less workfile.c
shows workfile.c in the same manner as the more command described above, but you can also back up half a screen with u or back up a whole screen with b. Other ``vi" commands are available to move around within the text, search for a string, etc.
cat info.tex
shows the file info to the screen all at once scrolling off the top if there is not enough room in the window to hold the entire file. The prompt will return after the end of the file.