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 the POSIXLY_CORRECT environment 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 named page.
  • -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, --lines number โ€” specify the number of lines per screenful. the number argument is a positive decimal integer. the --lines option 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 --lines option 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.

  • h or ? โ€” 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.
  • d or ^D โ€” scroll k lines. default is current scroll size, initially 11. argument becomes new default.
  • q or Q or INTERRUPT โ€” 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.
  • b or ^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.
  • !command or :!command โ€” execute command in a subshell.
  • v โ€” start up an editor at current line. the editor is taken from the environment variable VISUAL if defined, or EDITOR if VISUAL is not defined, or defaults to vi(1) if neither VISUAL nor EDITOR is 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:

  • !command or :!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 to more. โœจyour favesโœจ
  • SHELL โ€” current shell in use (normally set by the shell at login time).
  • TERM โ€” the terminal type used by more to get the terminal characteristics necessary to manipulate the screen.
  • VISUAL โ€” the editor the user prefers. invoked when command key v is pressed.
  • EDITOR โ€” the editor of choice when VISUAL is not specified.
  • POSIXLY_CORRECT โ€” disable exit-on-eof (see option -e for more details).
  • MORESECURE โ€” run more in "secure" mode. see SECURITY for details.
  • PAGERSECURE โ€” equivalent to MORESECURE.
  • 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 exiting more(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 -c and MORE environment variable.
  • Modified by Christian Goeschel Ndjomouo to add MORESECURE, PAGERSECURE and MORE_SHELL_LINES environment variables, and a SECURITY section

legends, all of them. ๐Ÿ’–


๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

less(1), vi(1)


๐Ÿ› 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