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
.
-c
Page through the file by clearing the screen instead of scrolling. This is often faster and is much easier to read.
-d
Display the prompt Press space to continue, 'q' to quit
.
-f
Count logical rather than screen lines. Useful when long lines wrap past the width of the screen.
-l
Ignore formfeed (^L
) characters.
-r
Force display of control characters, in the form ^
x
.
-s
Squeeze; display multiple blank lines as one.
-u
Suppress underline characters and backspace (^H
).
-w
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
file
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