At the command line, run:
$ man
Here's what it means:
man
| = 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