more
TLDR
Open a file for paging
SYNOPSIS
more [-d] [-l] [-s] [-p] [-c] [-n lines] [+linenum] [+/pattern] [file...]
DESCRIPTION
more is a filter for paging through text one screenful at a time. It displays file contents interactively, allowing forward navigation and searching through the text.
Commands follow vi conventions and can be preceded by numeric arguments. The pager reads from files or standard input, making it useful in pipelines.
PARAMETERS
-d, --silent
Display helpful prompts instead of ringing bell on errors-l, --logical
Do not pause after lines containing form feed characters-e, --exit-on-eof
Exit automatically at end of file-f, --no-pause
Count logical lines rather than screen lines-p, --print-over
Clear screen before displaying; do not scroll-c, --clean-print
Paint each screen from top, clearing remainder-s, --squeeze
Compress multiple consecutive blank lines into one-u, --plain
Suppress underlining-n _number_, --lines _number_
Specify number of lines per screenful+_number_
Start display at specified line number+/_pattern_
Search for pattern before displaying
INTERACTIVE COMMANDS
Space
Display next screenfulEnter
Display next lined, ^D
Scroll forward half screenb, ^B
Skip backward one screenful/_pattern_
Search forward for patternn
Repeat last searchq, Q
Exith, ?
Display help=
Display current line numberv
Open editor at current line:n
Go to next file:p
Go to previous file
CAVEATS
The more command is considered primitive compared to less, which offers backward scrolling and more features. Consider using less for most purposes. The MORE environment variable can set default options.
HISTORY
more was written by Eric Shienbrood at UC Berkeley in 1978 and was one of the first screen-oriented utilities. It became a standard Unix pager, though less (written by Mark Nudelman in 1983) has largely superseded it due to additional features.
