|
more
Page through text one screenful at a time, less
provides more emulation and extensive enhancements.
SYNTAX more [-dlfpcsu] [-num] [+/ pattern] [+ linenum] [file ...] OPTIONS -num This option specifies an integer which is the screen size (in lines). -d more will prompt the user with the message "[Press space to contin ue, 'q' to quit.]" and will display "[Press 'h' for instructions.]" instead of ringing the bell when an illegal key is pressed. -l more usually treats ^L (form feed) as a special character, and will pause after any line that contains a form feed. The -l option will prevent this behavior. -f Causes more to count logical, rather than screen lines (i.e., long lines are not folded). -p Do not scroll. Instead, clear the whole screen and then display the text. -c Do not scroll. Instead, paint each screen from the top, clearing the remainder of each line as it is displayed. -s Squeeze multiple blank lines into one. -u Suppress underlining. +/ The +/ option specifies a string that will be searched for before each file is displayed. +num Start at line number num.
The -n and -v options are non-standard and their use in scripts is not recommended.
Related commands:
echo - Display message on screen
less - Display output one screen at a time
tee - Redirect output to multiple files
Equivalent BASH command:
more - Page through text one screenful at a time