View HTML Files from the Command Line - Linux

This is post is now quite old and the the information it contains may be out of date or innacurate.

If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub

If you ever want to have a quick look at a html file from the command line (eg when SSHing into a server) then you will love this little app.

Called w3m, its a basic text based browser that will render your html into readable formatted text right on the command line.

This is great for me as I often create log files in a HTML format, before this the only way to read them was to either have them web accessible or download them and view them locally in the browser.

Now with this little app I can view them right in situ - dead handy.

To install on Cent OS just

yum install w3m

Tags: htmlbrowsersshviewshellw3m