Open any man page in Preview and save as PDF
If you’re tired of looking over a man page within the Terminal, you can launch any man page into Preview with the following command:
man -t ipconfig | open -f -a /Applications/Preview.app
This example uses ipconfig, but just replace ‘ipconfig’ with any other man page you’d like to read within Preview and it’ll work the same.
Save the man page as PDF
Once the man page is opened within Preview, you can then use Preview to “Save As” and then create a PDF file of the man page for later viewing. I find myself using this command frequently and then saving the PDF to view on my iPad.
If you’re not from a unix background, a ‘man page’ is nothing more than a manual, and they’re really helpful when you’re trying to sort out syntax of various command line features and utilities.