Monday, January 26, 2009
By default, the man pages are formatted using Linux 'less' utility which displays the texts in blank and white colors. Using 'most' utility to view man pages gives a color formatted man page, something like below
Now the ways to install 'most' utility and making it default for viewing the man pages in your Linux box:
$ sudo apt-get install most
Make it default for man page viewer:
$ sudo update-alternatives --config pager
The above command will list the alternatives which provide 'pager'. You can make 'most' as default by pressing the corresponding selection number for it.
And you are done. Now try to view a man page of a command.
Give a try and enjoy colorful man pages on your ubuntu.
For the newbies:
apt-get - APT package handling utility -- command-line interface
most - browse or page through a text file
update-alternatives - maintain symbolic links determining default commands
- Enable color support for Linux ls command
© Jadu Saikia www.UNIXCL.com