Home Privacy Policy Feedback Link to us Site Map Forums

UNIX Basic commands: more


The more command displays the file called name in the screen. The RETURN key displays the next line of the file. The spacebar displays the next screen of the file.

The syntax for the more command is:

more [options] [files]

options:

-c Page through the file by clearing the window. (not scrolling).
-d Displays "Press space to continue, 'q' to quit"
-f Count logical lines rather than screen lines (wrapping text)
-l Ignores form feed (^L) characters.
-r Display all control characters.
-s Displays multiple blank lines as one blank line.
-u Does not display underline characters and backspace (^H).
-w Waits for a user to press a key before exiting.
-n Displays n lines per window.
+num Displays the file starting at line number num.
+/pattern Displays the file starting at two lines before the pattern.

Examples:

more -d tech


* Please note that there are many flavors of UNIX, so if in doubt, consult your man pages.