Manual pages are a great resource of information for those of you who rely on the command-line to perform their daily tasks. However, reading a manual page inside the terminal could become a tedious task especially if you are dealing with complex commands.

Saving a manual page as PDF file has many advantages such improving readability, providing an easy way to access the page ...

In order to save a manual page as a PDF file, you need to install the following package:

sudo apt-get install ghostscript

To convert a manual page to a PDF document, simply run the following command in a terminal:

man -t <MANPAGE> | ps2pdf - <MANPDF>