Thomas Mullaly

DevOps, Security and IT Leadership

How to Convert a Man Page to Text

At the command line, run:

$ man MANPAGE | col -b > filename.txt

Here’s what it means:

man = display the man pages for a stated command

| = pipe the output of the man pages somewhere else

col -b = format the output

> = send the output to a file

filename.txt = name of the file you wish to create and populate with output