man is the system's manual pager. Each page argument given to man is normally the name of a program, utility or function. The manual page associated with each of these arguments is then found and displayed and these man pages are stored in some special format.
Now, suppose you need to convert these man pages to PDF files which are more readable and easy to print
Below simple command will convert any man pages to PDF file
man -t sendmail | ps2pdf - sendmail.pdfOutput of above command will be pdf file with name sendmail.pdf.
4 comments:
Thanks for the post it helped me out.
Thank you for your help-full post!
Oh Jeez, so simple yet hard to fine... Thanks!
man -t sendmail | ps2pdf - sendmail.pdf
No manual entry for sendmail
Post a Comment