O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

more

Synopsis

more [options
                      
] [files]

Displays the named files on a terminal, one screen at a time. See less for an alternative to more. Some commands can be preceded by a number.

Options

+ num

Begin displaying at line number num.

- num

Set screen size to num lines.

+/ pattern

Begin displaying two lines before pattern.

-c

Repaint screen from top instead of scrolling.

-d

Display the prompt "Press space to continue, 'q' to quit" in response to illegal commands.

-f

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

-l

Ignore form-feed (Control-L) characters.

-p

Page through the file by clearing each window instead of scrolling. This is sometimes faster.

-r

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

-s

Squeeze; display multiple blank lines as one.

-u

Suppress underline characters.

Commands

All commands in more are based on vi commands. An argument can precede many commands.

num SPACE

Display next screen of text, or num more lines.

num z

Display next lines of text, and redefine a screen to num lines. Default is one screen.

num RETURN

Display num lines of text, and redefine a screen to num lines. Default is one line.

num d, ^D

Scroll num lines of text, and redefine scroll size to num lines. Default scroll is 11 lines.

q, Q,

Quit.

num s

Skip forward num lines of text.

num f

Skip forward num screens of text.

num b, ^B

Skip backward num screens of text.

'

Return to point where previous search began.

=

Print number of current line. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required