From Wikipedia, the free encyclopedia
Jump to: navigation, search
Key Command
Space bar Next Page
b Previous Page
j or ↵ Enter Next Line
k Previous Line
g First Line
G Last Line
<n>G Go to Line <n>
/<text> Forward Search for <text>. Text is interpreted as a regex.
?<text> Backward Search like /
n Next Search Match
N Previous Search Match
Escu Turn off Match Highlighting (see -g command line option)
-<c> Toggle option <c>, e.g., -i toggles option to match case in searches
= or Ctrl+G File information.
h Help. This is presented with less, q to quit.
q Quit