Coders Republic

Home / Journal

Print man Pages to Text File

Print man Pages to Text File

If you need to create a copy of a man (manual) page of a specific command, type the following on your command shell:

$ man [command] | col -b > filename.txt

Replace [command] with the command of your choice.

This will print the manual page of that command to filename.txt.

← All articles