View text files one screen at a time (and scroll backwards if necessary).
less [options]
filenames
-? displays a list of commands you can use in
less.
-p
text displays the first line where
text is found.
-s reduces multiple blank lines to a single blank line.
The
less command displays the specified files one screen at a time. Unlike when you use
more , you can press
b , Ctrl-B, or Esc-V to scroll backwards. To view the commands you can use to interact with
less , press
h while you are viewing a file in
less .