August 6, 2013

Unix: more or less?

Commonly seen in Unix-based operating systems is usage of the command more to view paginated outputs. However, this command is quite old.

There exists the less command which has lot more functionality (like both forward and backward navigation) and is better performing as well (by not reading the entire file contents at the time of command invocation itself).

So, next time you want to use more, be frugal and use less instead – it is not useless though :)

No comments: