Skip to content

Instantly share code, notes, and snippets.

@nnja
Created October 5, 2017 04:54
Show Gist options
  • Select an option

  • Save nnja/5960fcfed3024a8bfdb272ee468e5c8e to your computer and use it in GitHub Desktop.

Select an option

Save nnja/5960fcfed3024a8bfdb272ee468e5c8e 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.

@CRowland4
Copy link
Copy Markdown

Great small resource that clarifies a lot. Thanks!

@zeeshan-123-ahmed
Copy link
Copy Markdown

Great tips for saving both time and confusion.

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