212 Welcome to Linux
Figure 15.19: Reading a man page at the shell prompt
Of course, like any good help system, the man command has its own man page. At the prompt, type
man man
to display the manual page (as shown in figure 15.19).
If you want to print:
Sometimes, just viewing the man page on the screen isn’t enough; you may want to have a printed
copy in front of you. Although you could send the page to a printer, because of certain text formatting
in the man pages, you’d likely end up with a document filled with “garbage,” symbols which didn’t
translate from your screen to the printer.
Before you print, then, you may have to “strip” the formatting from the page, which you can do with
the col command. (As you might guess, there’samanpageforcol,also.)
For example, to print a man page for the man,type:
man man | col -b | lpr
Comments to this Manuals