camscape - for excellent IT solutions - IT knowledge base

linux :: convert man page to text

Cristian M.
TitleConvert MAN page to text
Desc.Convert MAN page to text
CodeKBLN0036 v1.0
Date 8 iulie 2018

To convert a man page to text file, simply run:


man command_name | col -b > somefile.txt


where command_name is the command whose man page you want. For example:


man cp | col -b > cp-manpage.txt


will output into cp-manpage.txt the man page of cp.