Make ManPages navigable using man2html

Man pages are awesome. They usually have the answer to all of your queries, but the one thing they lack is the navigation among various pages. If you find another useful command while viewing a manpage, you can't just jump to its manual. You will have to run a separate command on the terminal to open it. So, while looking for a manpage viewer that solves this problem, I came across man2html. This tool lets you view manpages as html pages on a web browser.

You can easily install it by running the following command in a terminal.

[shredder12]$ sudo apt-get install man2html #for debian/ubuntu based distros

[shredder12]$ su -c 'yum install man2html' #for fedora/RedHat/centos

Once installed, open the following link in a browser.

http://localhost/cgi-bin/man/man2html

From there you can search and open any manpage you want and since we are dealing with webpages now, navigation is a lot more convenient.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <p> <br>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.