1MORE(1)                          User Commands                         MORE(1)
2
3
4

NAME

6       more - file perusal filter for crt viewing
7

SYNOPSIS

9       more [options] file...
10

DESCRIPTION

12       more is a filter for paging through text one screenful at a time.  This
13       version is especially primitive.  Users  should  realize  that  less(1)
14       provides more(1) emulation plus extensive enhancements.
15

OPTIONS

17       Options are also taken from the environment variable MORE (make sure to
18       precede them with a dash (-)) but command-line  options  will  override
19       those.
20
21       -d     Prompt  with "[Press space to continue, 'q' to quit.]", and dis‐
22              play "[Press 'h' for instructions.]" instead of ringing the bell
23              when an illegal key is pressed.
24
25       -l     Do not pause after any line containing a ^L (form feed).
26
27       -f     Count  logical lines, rather than screen lines (i.e., long lines
28              are not folded).
29
30       -p     Do not scroll.  Instead, clear the whole screen and then display
31              the  text.  Notice that this option is switched on automatically
32              if the executable is named page.
33
34       -c     Do not scroll.  Instead, paint each screen from the top,  clear‐
35              ing the remainder of each line as it is displayed.
36
37       -s     Squeeze multiple blank lines into one.
38
39       -u     Suppress underlining.
40
41       -number
42              The screen size to use, in number of lines.
43
44       +number
45              Start displaying each file at line number.
46
47       +/string
48              The  string  to be searched in each file before starting to dis‐
49              play it.
50
51       --help Display help text and exit.
52
53       -V, --version
54              Display version information and exit.
55

COMMANDS

57       Interactive commands for more are based on vi(1).  Some commands may be
58       preceded  by  a decimal number, called k in the descriptions below.  In
59       the following descriptions, ^X means control-X.
60
61              h or ?    Help; display a summary of  these  commands.   If  you
62                        forget all other commands, remember this one.
63
64              SPACE     Display  next  k  lines  of text.  Defaults to current
65                        screen size.
66
67              z         Display next k lines of  text.   Defaults  to  current
68                        screen size.  Argument becomes new default.
69
70              RETURN    Display  next  k lines of text.  Defaults to 1.  Argu‐
71                        ment becomes new default.
72
73              d or ^D   Scroll k lines.  Default is current scroll size,  ini‐
74                        tially 11.  Argument becomes new default.
75
76              q or Q or INTERRUPT
77                        Exit.
78
79              s         Skip forward k lines of text.  Defaults to 1.
80
81              f         Skip forward k screenfuls of text.  Defaults to 1.
82
83              b or ^B   Skip  backwards  k screenfuls of text.  Defaults to 1.
84                        Only works with files, not pipes.
85
86              '         Go to the place where the last search started.
87
88              =         Display current line number.
89
90              /pattern  Search  for  kth  occurrence  of  regular  expression.
91                        Defaults to 1.
92
93              n         Search  for kth occurrence of last regular expression.
94                        Defaults to 1.
95
96              !command or :!command
97                        Execute command in a subshell.
98
99              v         Start up an editor at current  line.   The  editor  is
100                        taken from the environment variable VISUAL if defined,
101                        or EDITOR if VISUAL is not defined, or defaults to  vi
102                        if neither VISUAL nor EDITOR is defined.
103
104              ^L        Redraw screen.
105
106              :n        Go to kth next file.  Defaults to 1.
107
108              :p        Go to kth previous file.  Defaults to 1.
109
110              :f        Display current file name and line number.
111
112              .         Repeat previous command.
113

ENVIRONMENT

115       The  more command respects the following environment variables, if they
116       exist:
117
118       MORE   This variable may be set with favored options to more.
119
120       SHELL  Current shell in use (normally set by the shell at login time).
121
122       TERM   The terminal type used by more to get the terminal  characteris‐
123              tics necessary to manipulate the screen.
124
125       VISUAL The  editor  the  user  prefers.   Invoked when command key v is
126              pressed.
127
128       EDITOR The editor of choice when VISUAL is not specified.
129

SEE ALSO

131       less(1), vi(1)
132

AUTHORS

134       Eric Shienbrood, UC Berkeley
135       Modified by Geoff Peck, UCB to add underlining, single spacing
136       Modified by John Foderaro, UCB to add -c and MORE environment variable
137

HISTORY

139       The more command appeared in 3.0BSD.  This man page documents more ver‐
140       sion  5.19  (Berkeley  6/29/88), which is currently in use in the Linux
141       community.  Documentation was produced using several other versions  of
142       the man page, and extensive inspection of the source code.
143

AVAILABILITY

145       The  more  command  is  part of the util-linux package and is available
146       from Linux Kernel Archive ⟨https://www.kernel.org/pub/linux/utils/util-
147       linux/⟩.
148
149
150
151util-linux                       February 2014                         MORE(1)
Impressum