home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    


more [options ] [files ]

Display the named files on a terminal, one screenful at a time. After each screen is displayed, press the Return key to display the next line or press the spacebar to display the next screenful. Press h for help with additional commands, q to quit, / to search, or :n to go to the next file. more can also be invoked using the name page .



Page through the file by clearing the screen instead of scrolling. This is often faster and is much easier to read.


Display the prompt Press space to continue, 'q' to quit .


Count logical rather than screen lines. Useful when long lines wrap past the width of the screen.


Ignore formfeed (^L ) characters.


Force display of control characters, in the form ^ x .


Squeeze; display multiple blank lines as one.


Suppress underline characters and backspace (^H ).


Wait for a user keystroke before exiting.

- n

Use n lines for each "window" (default is a full screen).

+ num

Begin displaying at line number num .

+/ pattern

Begin displaying two lines before pattern .


Page through file in "clear" mode, and display prompts:

more -cd


Format doc to the screen, removing underlines:

nroff doc | more -u

View the manpage for the grep command; begin near the word "BUGS" and compress extra whitespace:

man grep | more +/BUGS -s

Previous: Reference: mkmsgs UNIX in a Nutshell: System V Edition Next: Reference: msgfmt
Reference: mkmsgs Book Index Reference: msgfmt

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System