MORE(1)
๐ธ MORE(1) โ the more pager, bestie edition ๐ธ
okay so. you wanna read a file in your terminal but it's giving novel, not vibe? say hi to more from the User Commands corner of the manual. it's the little pager that shows you text one screenful at a time. and yeah, we're gonna read the whole manual together, no skipping, i got you. ๐ซถ
โจ NAME โจ
more โ display the contents of a file in a terminal
โจ SYNOPSIS โจ
more [options] file ...
โจ DESCRIPTION โจ
more is a filter for paging through text one screenful at a time. ๐
and now the part where i have to be honest with you: this version is especially primitive. like, especially. the manual literally says so. users should realize that less(1) provides more(1) emulation plus extensive enhancements. so less is basically more but with a glow-up, a skincare routine, and a personality. ๐
not me telling you to go read the other man page, but like. i'm telling you. less is right there.
โจ OPTIONS โจ
bestie, options can also be pulled from the environment variable MORE (just make sure you put a dash (-) in front of them, okay? don't be weird about it) โ but any options you type on the command line override the ones from the environment. command line wins, always. periodt.
-d,--silentโ prompt with"[Press space to continue, 'q' to quit.]", and show"[Press 'h' for instructions.]"instead of ringing the bell when you press an illegal key. polite pager behavior fr fr.-l,--logicalโ do not pause after any line containing a^L(form feed).-e,--exit-on-eofโ exit on End-Of-File. this one is enabled by default if thePOSIXLY_CORRECTenvironment variable is not set, or if it's not executed on a terminal.-f,--no-pauseโ count logical lines rather than screen lines (i.e. long lines are not folded). no folding, no drama.-p,--print-overโ do not scroll. instead, clear the whole screen and then display the text. heads up: this option gets switched on automatically if the executable is namedpage.-c,--clean-printโ do not scroll. instead, paint each screen from the top, clearing the remainder of each line as it is displayed. โจimmaculateโจ-s,--squeezeโ squeeze multiple blank lines into one. bye bye dead space ๐ฆ-u,--plainโ suppress underlining. this option is silently ignored as backwards compatibility, so don't stress about it.-n,--linesnumber โ specify the number of lines per screenful. the number argument is a positive decimal integer. the--linesoption shall override any values obtained from any other source, such as the number of lines reported by the terminal. it said shall. that's serious.-numberโ a numeric option means the same as the--linesoption argument. yes, literally just-number. iconic shorthand. ๐+numberโ start displaying each file at line number.+/stringโ the string to be searched in each file before starting to display it.-h,--helpโ display help text and exit. we love a quick escape hatch.-V,--versionโ display version and exit.
โจ COMMANDS โจ
the interactive commands for more are based on vi(1) โ so if you already know vi, you're lowkey already fluent, iykyk.
some commands may be preceded by a decimal number, called k in the descriptions below. and in the following descriptions, ^X means control-X. keep that in mind, bestie.
hor?โ Help; display a summary of these commands. if you forget all other commands, remember this one. ๐ซถ (seriously. this is the safe word.)SPACEโ display next k lines of text. defaults to current screen size.zโ display next k lines of text. defaults to current screen size. argument becomes new default.RETURNโ display next k lines of text. defaults to 1. argument becomes new default.dor^Dโ scroll k lines. default is current scroll size, initially11. argument becomes new default.qorQorINTERRUPTโ exit. the main character move. ๐sโ skip forward k lines of text. defaults to 1.fโ skip forward k screenfuls of text. defaults to 1.bor^Bโ skip backwards k screenfuls of text. defaults to 1. only works with files, not pipes. ๐ฅฒ'โ go to the place where the last search started.=โ display current line number./patternโ search for *k*th occurrence of regular expression. defaults to 1.nโ search for *k*th occurrence of last regular expression. defaults to 1.!commandor:!commandโ execute command in a subshell.vโ start up an editor at current line. the editor is taken from the environment variableVISUALif defined, orEDITORifVISUALis not defined, or defaults tovi(1)if neitherVISUALnorEDITORis defined.^Lโ redraw screen. the "omg my terminal is a mess" button โจ:nโ go to *k*th next file. defaults to 1.:pโ go to *k*th previous file. defaults to 1.:fโ display current file name and line number..โ repeat previous command.
๐ SECURITY ๐
okay this part is the serious part, so pay attention. when either MORESECURE or PAGERSECURE is set, more will run in "secure" mode and effectively disable the following commands:
!commandor:!commandโ execute command in a subshell.vโ start up an editor.
that's it. those two. no shell escapes, no editors. locked down. no cap.
โจ ENVIRONMENT โจ
the more command respects the following environment variables, if they exist:
MOREโ this variable may be set with favored options tomore. โจyour favesโจSHELLโ current shell in use (normally set by the shell at login time).TERMโ the terminal type used bymoreto get the terminal characteristics necessary to manipulate the screen.VISUALโ the editor the user prefers. invoked when command keyvis pressed.EDITORโ the editor of choice whenVISUALis not specified.POSIXLY_CORRECTโ disable exit-on-eof (see option-efor more details).MORESECUREโ runmorein"secure"mode. see SECURITY for details.PAGERSECUREโ equivalent toMORESECURE.MORE_SHELL_LINESโ specify the number of lines the shell prompt occupies on the terminal screen. if this value is set, the number of lines for the shell prompt is subtracted from the number of lines used to print a page on the screen. the value must be greater than zero and less than the current number of lines per screen; otherwise it is silently ignored. this is useful in situations where the printed page has to remain on the screen after exitingmore(1)without scrolling up too much as the shell prints a new prompt. chef's kiss utility, honestly. ๐
๐ HISTORY ๐
the more command appeared in 3.0BSD. this man page documents more version 5.19 (Berkeley 6/29/88), which is currently in use in the Linux community. documentation was produced using several other versions of the man page, and extensive inspection of the source code. so like. they did the research. ๐
๐ AUTHORS ๐
- Eric Shienbrood, UC Berkeley.
- Modified by Geoff Peck, UCB to add underlining, single spacing.
- Modified by John Foderaro, UCB to add
-candMOREenvironment variable. - Modified by Christian Goeschel Ndjomouo to add
MORESECURE,PAGERSECUREandMORE_SHELL_LINESenvironment variables, and a SECURITY section
legends, all of them. ๐
๐ฆ SEE ALSO ๐ฆ
๐ REPORTING BUGS ๐
for bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.
๐ฆ AVAILABILITY ๐ฆ
the more command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
and that's the whole page, bestie!! ๐ this was util-linux 2.42.4, dated 2026-09-21 โ so if you're quoting me on this, cite it right. now go pipe something into more and press q when you're done. mwah. ๐
โจ๐ซถ
๐ฆ where this page comes from
- arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms