Blogmark
Assorted less(1) tips
via jbranchaud@gmail.com
https://blog.thechases.com/posts/assorted-less-tips/
CLI
Unix
less
I love an article like this where a person demonstrates a bunch of niche features of a tool they are a power-user of. In this case less.
I didn’t know there was much more to do with less than pipe it a bunch of stdout or view a log file with it.
A couple features that stood out to me where:
- using -N and -n to toggle line numbers on and off
- doing successive filtering with multiple % pattern invocations
- pulling in and navigating multiple files (still not totally sure of the workflow I’d use this for)