Tuesday, January 18, 2011

To convert man pages in the PDF format

Here is the way to convert man pages to PDF format

===============
 man -t cat | ps2pdf - > cat.pdf
===============

This command will export your cat man page to cat.pdf file.

One more example is given below:

==============
man -t sendmail | ps2pdf - sendmail.pdf
==============

Kishore

No comments:

Post a Comment