1MORE(1) User Commands MORE(1)
2
3
4
6 more - file perusal filter for crt viewing
7
9 more [options] file ...
10
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
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, --silent
22 Prompt with "[Press space to continue, 'q' to quit.]", and display
23 "[Press 'h' for instructions.]" instead of ringing the bell when an
24 illegal key is pressed.
25
26 -l, --logical
27 Do not pause after any line containing a ^L (form feed).
28
29 -f, --no-pause
30 Count logical lines, rather than screen lines (i.e., long lines are
31 not folded).
32
33 -p, --print-over
34 Do not scroll. Instead, clear the whole screen and then display the
35 text. Notice that this option is switched on automatically if the
36 executable is named page.
37
38 -c, --clean-print
39 Do not scroll. Instead, paint each screen from the top, clearing
40 the remainder of each line as it is displayed.
41
42 -s, --squeeze
43 Squeeze multiple blank lines into one.
44
45 -u, --plain
46 Suppress underlining. This option is silently ignored as backwards
47 compatibility.
48
49 -n, --lines number
50 Specify the number of lines per screenful. The number argument is a
51 positive decimal integer. The --lines option shall override any
52 values obtained from any other source, such as number of lines
53 reported by terminal.
54
55 -number
56 A numeric option means the same as --lines option argument.
57
58 +number
59 Start displaying each file at line number.
60
61 +/string
62 The string to be searched in each file before starting to display
63 it.
64
65 --help
66 Display help text and exit.
67
68 -V, --version
69 Display version information and exit.
70
72 Interactive commands for more are based on vi(1). Some commands may be
73 preceded by a decimal number, called k in the descriptions below. In
74 the following descriptions, ^X means control-X.
75
76 h or ?
77 Help; display a summary of these commands. If you forget all other
78 commands, remember this one.
79
80 SPACE
81 Display next k lines of text. Defaults to current screen size.
82
83 z
84 Display next k lines of text. Defaults to current screen size.
85 Argument becomes new default.
86
87 RETURN
88 Display next k lines of text. Defaults to 1. Argument becomes new
89 default.
90
91 d or ^D
92 Scroll k lines. Default is current scroll size, initially 11.
93 Argument becomes new default.
94
95 q or Q or INTERRUPT
96 Exit.
97
98 s
99 Skip forward k lines of text. Defaults to 1.
100
101 f
102 Skip forward k screenfuls of text. Defaults to 1.
103
104 b or ^B
105 Skip backwards k screenfuls of text. Defaults to 1. Only works with
106 files, not pipes.
107
108 '
109 Go to the place where the last search started.
110
111 =
112 Display current line number.
113
114 /pattern
115 Search for kth occurrence of regular expression. Defaults to 1.
116
117 n
118 Search for kth occurrence of last regular expression. Defaults to
119 1.
120
121 !command or :!command
122 Execute command in a subshell.
123
124 v
125 Start up an editor at current line. The editor is taken from the
126 environment variable VISUAL if defined, or EDITOR if VISUAL is not
127 defined, or defaults to vi(1) if neither VISUAL nor EDITOR is
128 defined.
129
130 ^L
131 Redraw screen.
132
133 :n
134 Go to kth next file. Defaults to 1.
135
136 :p
137 Go to kth previous file. Defaults to 1.
138
139 :f
140 Display current file name and line number.
141
142 .
143 Repeat previous command.
144
146 The more command respects the following environment variables, if they
147 exist:
148
149 MORE
150 This variable may be set with favored options to more.
151
152 SHELL
153 Current shell in use (normally set by the shell at login time).
154
155 TERM
156 The terminal type used by more to get the terminal characteristics
157 necessary to manipulate the screen.
158
159 VISUAL
160 The editor the user prefers. Invoked when command key v is pressed.
161
162 EDITOR
163 The editor of choice when VISUAL is not specified.
164
166 The more command appeared in 3.0BSD. This man page documents more
167 version 5.19 (Berkeley 6/29/88), which is currently in use in the Linux
168 community. Documentation was produced using several other versions of
169 the man page, and extensive inspection of the source code.
170
172 Eric Shienbrood, UC Berkeley.
173
174 Modified by Geoff Peck, UCB to add underlining, single spacing.
175
176 Modified by John Foderaro, UCB to add -c and MORE environment variable.
177
179 less(1), vi(1)
180
182 For bug reports, use the issue tracker at
183 https://github.com/karelzak/util-linux/issues.
184
186 The more command is part of the util-linux package which can be
187 downloaded from Linux Kernel Archive
188 <https://www.kernel.org/pub/linux/utils/util-linux/>.
189
190
191
192util-linux 2.37.2 2021-06-02 MORE(1)