more
v0.0.28
more [OPTIONS] FILE...
Display the contents of a text file
Options
--print-over
,-c
-
Do not scroll, display text and clean line ends
--silent
,-d
-
Display help instead of ringing bell
--clean-print
,-p
-
Do not scroll, clean screen and display text
--squeeze
,-s
-
Squeeze multiple blank lines into one
--plain
,-u
--pattern=<pattern>
,-P <pattern>
-
Display file beginning from pattern match
--from-line=<number>
,-F <number>
-
Display file beginning from line number
--lines=<number>
,-n <number>
-
The number of lines per screen full
--number
-
Same as --lines
-
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}}
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.