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