• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

more, page

more, page

more  
page Pages through data or text files.
more [-cdflsu] [-n] [+<linenumber>] [+/<pattern>] <file1> <file2>
more pages through data a screenful at a time. When the user enters a carriage return at the More prompt at the bottom of the screen, one more line is displayed. When the user presses the space bar, another screenful of data is displayed. When more is invoked as page, each screenful is cleared before the next is displayed.
-c Draws each page by beginning at the top of the screen and erasing each line just before it draws on it. This option is ignored if the screen is unable to clear to the end of a line.
-d Prompts user with “Press space to continue, 'q' to quit.” at the end of each screenful. Responds to illegal user input with “Press 'h' for instructions.” instead of ringing the bell.
-f Counts logical rather than screen lines. Long lines are not folded. Useful when trying to display lines containing nonprinting characters or escape sequences.
-l Does not treat ^L (form feed) as a page break. Where form feeds occur, more pauses after them, as if the screen were full. Particularly recommended if piping nroff output through ul.
-s Squeezes multiple blank lines of output into one blank line of output. Useful for viewing nroff output.
-u Suppresses underlining or standout mode, whichever the terminal is capable of displaying.
-n Specifies the number of lines to use per screenful rather than the default.
+<linenumber> Starts at <linenumber>.
+/<pattern> Starts two lines before the line containing the regular expression pattern <pattern>.
Additional options for interacting with more when it pauses (i is an optional integer argument, defaulting to 1):
i<return> Displays i more lines. Advances one line if i is not given.
i<space> Displays i more lines. Advances another screenful if i is not given.
^D Displays 11 more lines. If i is given, scroll size is set to i.
d Same as ^D.
iz Same as typing <space>, except that if i is given, scroll size becomes i.
is Skips i lines and prints a screenful of lines.
if Skips i screenfuls and prints a screenful of lines.
i^F Same as if.
ib Skips back i screenfuls and prints a screenful of lines.
i^B Same as ib.
q Exits.
Q Exits.
= Displays the current line number.
v Starts the editor at the current line number, if the environment variable EDITOR is set to vi or ex. If no EDITOR is specified, vi is the default.
h Displays the help menu.
i/<expression> Searches for the i-th occurrence of the regular expression <expression>. If the input is a file rather than a pipe, and there are less than i occurrences, the file remains unchanged. Otherwise, the display advances to two lines before the line containing <expression>.
in Searches for the i-th occurrence of the last regular expression entered.
' (Single quote) Goes to the point where the last search was started. If no search has been done on the file, it goes back to the beginning of the file.
!<command> Invokes a shell that executes <command>. The characters % and !, when used in the <command>, are replaced with the current filename and the previous shell command, respectively. If there is no current filename, % is not expanded. To escape expansion, use \% and \%, respectively.
i:n Skips to the i-th next file given in the command line, or to the last file if i is beyond range.
i:p Skips to the i-th previous file in the command line, or to the first file if i is beyond range. If more is in the middle of displaying a file, it goes to the beginning of the file. If more is displaying from a pipe, the bell rings.
:f Displays current filename and line number.
:q Exits.
:Q Exits.
. (Dot) Repeats the previous command.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint