Skip to content

Instantly share code, notes, and snippets.

@nnja
Created October 5, 2017 04:54
Show Gist options
  • Save nnja/5960fcfed3024a8bfdb272ee468e5c8e to your computer and use it in GitHub Desktop.
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.

@sahaarnav3
Copy link

:octocat:

@karansinghnegi
Copy link

Thanks

@sojinsamuel
Copy link

Thanks ❤️

@CRowland4
Copy link

Great small resource that clarifies a lot. Thanks!

@zeeshan-123-ahmed
Copy link

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