How do I print a man page?

How do I print a man page?
Answer
Let’s say you have a printer that you have identified with the name hp_laserjet connected to your system. You want to print a man page about the ls command directly to that printer, so use the -t option (or –troff) and then pipe the output to the lpr command, identifying your printer with the -P option.
 

Tìm kiếm

Back
Top