Everyone here should have heard of more
if not less
atleast. Most distributions now a days use less
as default pager for various tasks. You can check this by
echo $PAGER
and chances are you would see less
.
Examples of tools using less
is the man
command. This should man pages with less
. What does that mean? That means that you can actually use the same shortcuts are option with man pages that you use in less
like using /
to search and etc. Problem with less
is that it doesn’t support coloring as default and some other cool stuff.
Solution is using most
. Install it using:
apt-get install most
or use aptitude
. After its installed you can set PAGER
environment variable in your home directory configuration files such as profile
or your shell specific configs say .bashrc
or global configurations files in /etc
.
Tags: bash, less, linux, man, more, most, Open Source, shell, ubuntu
Leave a Comment