How to create PDF file from a man page in Linux
In Category Command Line Desktop
The ps2pdf command can be used to create PDF in Linux. This command converts PostScript to PDF using ghostscript. You can redirect the output of “man” command to ps2pdf command to geneate PDF out of man page. The following example shows how to create a PDF of ifconfig man page.
[neo@techpulp ~]# man -t ifconfig | ps2pdf - > ifconfig.pdf [neo@techpulp ~]# okular ifconfig.pdf & [neo@techpulp ~]#
Recent Comments