Convert a man page into PDF

August 2017





Man pages (short for manuals) comes along with most Unix and Linux based Operating system. Each Man page can considered as a full document (manual) related to a topic of the OS.
  • Convert page "man" in "pdf"

With temporary file


man -t bash > bash.ps && ps2pdf bash.ps && rm -f bash.ps 

No temporary file, reading from STDIN


 man -t bash | ps2pdf - > bash.pdf

Related


Published by jak58. Latest update on April 13, 2010 at 07:19 AM by deri58.
This document, titled "Convert a man page into PDF," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).