more
more [OPTIONS] FILE...
Display the contents of a text file
Options
--silent
,-d
-
Display help instead of ringing bell when an illegal key is pressed
--logical
,-l
-
Do not pause after any line containing a ^L (form feed)
--exit-on-eof
,-e
-
Exit on End-Of-File
--no-pause
,-f
-
Count logical lines, rather than screen lines
--print-over
,-p
-
Do not scroll, clear screen and display text
--clean-print
,-c
-
Do not scroll, display text and clean line ends
--squeeze
,-s
-
Squeeze multiple blank lines into one
--plain
,-u
-
Suppress underlining
--lines=<number>
,-n <number>
-
The number of lines per screen full
--number
-
Same as --lines option argument
--from-line=<number>
,-F <number>
-
Start displaying each file at line number
--pattern=<pattern>
,-P <pattern>
-
The string to be searched in each file before starting to display it
-
Path to the files to be read
Examples
Open a file:
more {{path/to/file}}
Display a specific line:
more +{{line_number}} {{path/to/file}}
Go to the next page:
<Space>
Search for a string (press <n>
to go to the next match):
</>{{something}}<Enter>
Exit:
<q>
Display help about interactive commands:
<h>
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.