How to convert HTML file to text on Linux

0 votes
asked Nov 21, 2013 by anonymous

How to convert HTML file to a text on Linux?

1 Answer

0 votes
answered Nov 21, 2013 by anonymous

You can use html2text (can be installed on Fedora by yum install html2text):

$ html2text ${html_file}

${html_file} is the html file to be converted. The converted text will be printed to the STDOUT. You can redirect it to a file if it is needed.

Welcome to Questions and Answers, where you can ask questions and receive answers from other members of the community.
...