camscape - for excellent IT solutions itkb.ro - IT knowledge base

linux :: convert man page to text

Cristian
Cristian M.
TitleConvert MAN page to text
Tagsconvert,man,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.