Convert a man page into PDF

December 2016





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 :

This document entitled « Convert a man page into PDF » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.