Colored Man Pages
I found an interesting tip about coloring man pages in Jônatas’ blog (http://tupinigeek.blogspot.com/2009/07/man-pages-coloridas.html <- in Portugese). This is how you do it:
1 – Install most (http://www.jedsoft.org/most/index.html):
You can download most here: ftp://space.mit.edu/pub/davis/most/
or by executing the line bellow in debian-like systems:
1 | # aptitude install most |
2 – Export MANPAGER variable:
After this you’ll have to execute the line bellow:
1 | $ export MANPAGER="/usr/bin/most -s" |
Now you should have your man pages like this:

If you don’t want to export that variable everytime you restart your computer, you can add that line to your .bashrc file:
1 | $ echo "export MANPAGER=\"/usr/bin/most -s\"" >> ~/.bashrc |





August 12th, 2009 at 09:22
Very useful post! thanks! =)