Linux Command to Convert man page to PDF and TXT Files

Q. How do i convert Linux man pages to PDFs and text files?
Well.. Sometimes you need to convert and download the Linux man pages in different file formats like .pdf, .txt, etc. This article explains to convert the Linux man pages into PDF and Text files using built in commands and tools in Linux.

Convert and Download "yum" man page to .PDF file
[root@server ~]# man -t yum | ps2pdf - yum.pdf

Convert and Download  "yum" man page to .TXT file
[root@server ~]# man -t yum | ps2ascii - yum.txt

Tested in Fedora, Redhat and CentOS linux systems.

Was this helpfull ?


Related Posts Plugin for WordPress, Blogger...

Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons