How to view html file as a webpage via command line?

P

postcd

Guest
Hello,

i have mail file named example "1453102828.H684028P24870.host.provider.com,S=32726"
that file is not proper html formated in it, but have parts which is HTML.
im looking for the fastest way to view this file as a processed html (as if i view it as .htm file via web browser), but can i do it via command line some easy way?

im asking this, because the html in that file is really hard to read, too complicated

so far i coppied it to my webpage folder, changed its ownership and then typed the address in webbrowser. but its too complicated, any command i can do via command line as root?

--------
update: lynx --force-html filename
lynx --force-html -dump filename
 
Last edited:



Staff online


Top