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