Skip to content

Instantly share code, notes, and snippets.

@DevanB
Forked from nnja/less.md
Created November 6, 2017 15:47
Show Gist options
  • Save DevanB/4aaae5b7bcab75d63ffd073a9c84ab55 to your computer and use it in GitHub Desktop.
Save DevanB/4aaae5b7bcab75d63ffd073a9c84ab55 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