Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

more

Synopsis

more [options] [files]

Display the named files on a terminal, one screenful at a time. See less for an alternative to more.

Options

+num

Begin displaying at line number num.

-num number

Set screen size to number lines.

+/pattern

Search for pattern and begin displaying at that point.

-c

Repaint screen from top instead of scrolling.

-d

Display the prompt “[Press space to continue, ‘q’ to quit]” instead of ringing the bell. Also display “[Press ‘h’ for instructions]” 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 (Ctrl-L) characters.

-p

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

-s

Squeeze; display multiple blank lines as one.

-u

Suppress underline characters.

Commands

All commands in more are based on vi commands. You can specify a number before many commands to have them executed multiple times. For instance, 3:p causes more to skip back three files, the same as issuing :p three times. The optional number is indicated by num in the following list:

SPACE

Display next screen of text.

z

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

RETURN

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

d, ^D

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

q, Q, INTERRUPT

Quit.

s

Skip next num lines of text. Default is one line.

f

Skip ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page