Skip to content

Instantly share code, notes, and snippets.

@ivanmolto
Forked from nnja/less.md
Created May 15, 2021 10:01
Show Gist options
  • Save ivanmolto/f4cdad2f411e5afd45bb89e642f01538 to your computer and use it in GitHub Desktop.
Save ivanmolto/f4cdad2f411e5afd45bb89e642f01538 to your computer and use it in GitHub Desktop.
A cheatsheet for using less on the command line

Tips for using less on the command line.

To navigate:

  • f = for next page
  • b = for previous page

To search:

  • /<query>
  • n = next match
  • p = previous match

To quit:

  • q = to quit

If you really want to deep dive, check out the man (a.k.a manual) page for less.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment