Some tips for exporting man manual into txt,pdf,html

Source: Internet
Author: User
Often man some shell commands, sometimes want to export to edit or comment, so to export. Methods have many kinds, according to their actual needs feel more useful records under the share. 1. Export to txt
man–t bash |col–b > Bash_man.txt This is commonly used by everyone, exported to TXT file, the format is basically correct
2. Export to PDF
man–t bash |PS2PD F–bash_man.pdf This is recently learned, can be exported to PDF format, easy to view, but also easy to plug.
3. Export to HTML
man-t--html=/usr/bin/firefox bashcp/tmp/hmanlsa2jh/bash.html/home/talen/documents or use Firefox Save page This default is to use ELinks in the terminal to open the man page, you can also specify the browser, I have designated Firefox as an open browser This is also my favorite, display format is relatively perfect.

Some tips for exporting man manual into txt,pdf,html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.