How to disable styling on man pages

colorsmanterminal

Is there an easy way to turn off all styling on man pages? Colors, bold, italics, everything… If not, what is an uneasy way?

Best Answer

man's output is formatted by groff, and more specifically the last step is post-processing by grotty, which is responsible for turning the device-independent output of groff into something that can be displayed on a terminal.

So, the easiest option is to force grotty to use the simplest tty available, with no fancy formatting capabilities, that is the "dumb" terminal:

env TERM=dumb man ping
Related Question