less

less is a filter for paging through text one screenful at a time.

less [MOVING]
e
y
f
b
e, Forward one line.
y, Backward one line.
f, Forward one window.
b, Backward one window.
less [SEARCHING]
/pattern
?pattern
n
N
/pattern, Search forward for matching lines.
?pattern, Search backward for matching lines.
n, Repeat previous search for another occurance.
N, Repeat previous search in the reverse direction.
less [JUMPING]
g
G
p
t
T
g, Goto first line in a file.
G, Goto last line in a file.
p, Goto beginning of file(or N percent into file)
t, Goto the next tag.
T, Goto the previous tag.
less [CHANGING FILES]
:e [file]
:n
:p
:x
:d
=
:e [file], Examine a new file.
:n, Examine the next file from the command line.
:p, Examine the previous file from the command line.
:x, Examine the first file from the command line list.
:d, Delete the current file from the command line list.
=, Print current file name.
less [MISCELLANEOUS COMMANDS]
v
v, Edit the current file with $VISUAL or $EDITOR
less [OPTIONS]
less [OPTIONS]
less [OPTIONS]
less [OPTIONS]
less [OPTIONS]
less [OPTIONS]
less [OPTIONS]
less {OPTIONS]
–no-keypad
–follow-name
–use-backslash
–no-keypad, Don’t send termcap keypad init/deinit strings.
–follow-name, The F command changes files if the input file is renamed.
–use-backslash, Subsequent options use backslash as escape char.