Showing posts with label Man-pages. Show all posts
Showing posts with label Man-pages. Show all posts

Linux Command to Convert man page to PDF and TXT Files

FREQUENTLY ASKED QUESTIONS (Linux)
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.

Where are man pages in Linux located

FREQUENTLY ASKED QUESTIONS (Linux)
Q. How do i exit properly from the man page in Linux operating systems?

You can find the location path of all the man pages by the "manpath" command.
[root@server ~]# manpath
/usr/local/share/man:/usr/share/man
Here the man pages are located in "/usr/local/share/man" and "/usr/share/man"


Get useful tips: man page of "man"
[root@server ~]# man man

How to Exit From Man Pages in Linux Properly

FREQUENTLY ASKED QUESTIONS (Linux)
Q. How do i exit properly from the man page in Linux operating systems?


You can always exit from the man pages by simply pressing "q" in linux operating systems. You can also find cool tips in reading man pages with the below command

[root@server ~]# man man

Related Posts Plugin for WordPress, Blogger...

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