October 20, 2014
 
 
RSSRSS feed

Little-Known 'Less' Command Options

Less is More

  • August 4, 2010
  • By Juliet Kemp

Juliet Kemp

If you spend any time at all on the command line, you almost certainly use less (more's backward-scrollable cousin) on a very regular basis. Like me (until recently), however, you may never have taken the time to learn many of the long list of useful commands and shortcuts with which less is provided. Here are a few commands that will help you get more value out of less.

* u and d: Scroll up (backward) or down (forward) half a screen, rather than the full screen provided by SPACE and b.
* F: Keep scrolling forward, and keep trying to read whenever the end of the file is reached. This is especially useful when reading logfiles. It works like tail -f, but you can control when you read the next bit...

Read the rest of this Linux command tip at Serverwatch.com

Sitemap | Contact Us