HOW TO : View HTML pages in Linux (command line)

If you are stuck in a terminal on a Linux workstation and need to view a html file.. you can use the following command

links NAME_OF_HTML_FILE

Links displays the HTML code in the page by default..If you want to just view the rendered HTML, press “\” and you can toggle between HTML and Text views.

P.S : You need to have links installed to use it :) .. But most of the new distributions have it installed by default.

One Response to “HOW TO : View HTML pages in Linux (command line)”

  1. wab Thout says:

    Thisis a very good and informative post. I look forward to see more.
    I am find your source via http://google.com

Leave a Reply