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 dis‐
23 play "[Press 'h' for instructions.]" instead of ringing the bell
24 when an 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
31 are not folded).
32
33 -p, --print-over
34 Do not scroll. Instead, clear the whole screen and then display
35 the text. Notice that this option is switched on automatically
36 if the executable is named page.
37
38 -c, --clean-print
39 Do not scroll. Instead, paint each screen from the top, clear‐
40 ing 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 back‐
47 wards compatibility.
48
49 -n, --lines number
50 Specify the number of lines per screenful. The number argument
51 is a positive decimal integer. The --lines option shall over‐
52 ride any values obtained from any other source, such as number
53 of lines 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 dis‐
63 play it.
64
65 --help Display help text and exit.
66
67 -V, --version
68 Display version information and exit.
69
71 Interactive commands for more are based on vi(1). Some commands may be
72 preceded by a decimal number, called k in the descriptions below. In
73 the following descriptions, ^X means control-X.
74
75 h or ? Help; display a summary of these commands. If you
76 forget all other commands, remember this one.
77
78 SPACE Display next k lines of text. Defaults to current
79 screen size.
80
81 z Display next k lines of text. Defaults to current
82 screen size. Argument becomes new default.
83
84 RETURN Display next k lines of text. Defaults to 1. Argu‐
85 ment becomes new default.
86
87 d or ^D Scroll k lines. Default is current scroll size, ini‐
88 tially 11. Argument becomes new default.
89
90 q or Q or INTERRUPT
91 Exit.
92
93 s Skip forward k lines of text. Defaults to 1.
94
95 f Skip forward k screenfuls of text. Defaults to 1.
96
97 b or ^B Skip backwards k screenfuls of text. Defaults to 1.
98 Only works with files, not pipes.
99
100 ' Go to the place where the last search started.
101
102 = Display current line number.
103
104 /pattern Search for kth occurrence of regular expression.
105 Defaults to 1.
106
107 n Search for kth occurrence of last regular expression.
108 Defaults to 1.
109
110 !command or :!command
111 Execute command in a subshell.
112
113 v Start up an editor at current line. The editor is
114 taken from the environment variable VISUAL if defined,
115 or EDITOR if VISUAL is not defined, or defaults to vi
116 if neither VISUAL nor EDITOR is defined.
117
118 ^L Redraw screen.
119
120 :n Go to kth next file. Defaults to 1.
121
122 :p Go to kth previous file. Defaults to 1.
123
124 :f Display current file name and line number.
125
126 . Repeat previous command.
127
129 The more command respects the following environment variables, if they
130 exist:
131
132 MORE This variable may be set with favored options to more.
133
134 SHELL Current shell in use (normally set by the shell at login time).
135
136 TERM The terminal type used by more to get the terminal characteris‐
137 tics necessary to manipulate the screen.
138
139 VISUAL The editor the user prefers. Invoked when command key v is
140 pressed.
141
142 EDITOR The editor of choice when VISUAL is not specified.
143
145 The more command appeared in 3.0BSD. This man page documents more ver‐
146 sion 5.19 (Berkeley 6/29/88), which is currently in use in the Linux
147 community. Documentation was produced using several other versions of
148 the man page, and extensive inspection of the source code.
149
151 Eric Shienbrood, UC Berkeley
152 Modified by Geoff Peck, UCB to add underlining, single spacing
153 Modified by John Foderaro, UCB to add -c and MORE environment variable
154
156 less(1), vi(1)
157
159 The more command is part of the util-linux package and is available
160 from Linux Kernel Archive ⟨https://www.kernel.org/pub/linux/utils/util-
161 linux/⟩.
162
163
164
165util-linux March 2020 MORE(1)