man2html

Tagged:  •    •    •  

Today I just discovered another cool tool: man2html. Funny enough, I saw it mentioned in a Mac OS hints blog. man2html allows you to see the local man pages in your favorite browser.

In order to install man2html on an Ubuntu box do the following:

  • Install the man2html package through Synaptic or apt-get
  • Make sure you have apache2 installed and running
  • Now you can just go to the following URL: http://localhost/cgi-bin/man/man2html :-)

You can also use the command line using hman instead of man:

  • Add the following line to your ~/.bashrc file: export MANHTMLPAGER=firefox, this tells hman what browser to use, replace firefox with whatever browser you are using
  • Now instead of man use hman, for example try hman man2html
Technorati Tags:
Syndicate content