man files in a browser

October 23rd, 2007 by

If reading man files off the command line is not your thing – or you might need to print it off, or you simply prefer to view things in a browser, then a handy command line option to man will open the man page you want to read in a browser of choice.

Say you want to open a man file on ls, then simply type:

$man ls --html=firefox

That will open the man file in firefox – nice and easy (and of course firefox can be replaced by browser of choice).


Posted in linux, tech stuff, tips&tricks | No Comments »