Little-Known 'Less' Command Options
Less is More
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
- 1Linux Top 3: Fedora 24, Peppermint 7 and Solus 1.2
- 2Linux Top 3: Alpine Linux 3.4, deepin 15.2 and Linux Lite 3.0
- 3Linux 4.7 Set to Boost Live Patching, Security and Power Management
- 4Linux 4.6 Charred Weasel adds USB 3.1 Support
- 5Linux Top 3: OpenIndiana 2016.04, Ubuntu 16.04 and Debian's New Leader