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       Command-line  options are described below.  Options are also taken from
18       the environment variable MORE (make sure to precede them  with  a  dash
19       (``-'')) but command line options will override them.
20
21       -number
22              This option specifies an integer number which is the screen size
23              (in lines).
24
25       -d     more will prompt the user with the message "[Press space to con‐
26              tinue,  'q' to quit.]" and will display "[Press 'h' for instruc‐
27              tions.]" instead of ringing the bell  when  an  illegal  key  is
28              pressed.
29
30       -l     more  usually  treats ^L (form feed) as a special character, and
31              will pause after any line that contains a  form  feed.   The  -l
32              option will prevent this behavior.
33
34       -f     Causes  more  to  count logical, rather than screen lines (i.e.,
35              long lines are not folded).
36
37       -p     Do not scroll.  Instead, clear the whole screen and then display
38              the  text.  Notice that this option is switched on automatically
39              if the executable is named page.
40
41       -c     Do not scroll.  Instead, paint each screen from the top,  clear‐
42              ing the remainder of each line as it is displayed.
43
44       -s     Squeeze multiple blank lines into one.
45
46       -u     Suppress underlining.
47
48       +/     The  +/  option  specifies  a  string  that will be searched for
49              before each file is displayed.
50
51       +number
52              Start at line number.
53

COMMANDS

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

ENVIRONMENT

113       More utilizes the following environment variables, if they exist:
114
115       MORE   This variable may be set with favored options to more.
116
117       SHELL  Current shell in use (normally set by the shell at login time).
118
119       TERM   Specifies  terminal type, used by more to get the terminal char‐
120              acteristics necessary to manipulate the screen.
121
122       VISUAL Editor the user is preferring.   Used  when  key  command  v  is
123              pressed.
124
125       EDITOR Editor of choise when VISUAL is not specified.
126

SEE ALSO

128       vi(1), less(1)
129

AUTHORS

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

HISTORY

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

AVAILABILITY

142       The more command is part of the util-linux  package  and  is  available
143       from  Linux  Kernel Archive ⟨ftp://ftp.kernel.org/pub/linux/utils/util-
144       linux/⟩.
145
146
147
148util-linux                      September 2011                         MORE(1)
Impressum