About groff in Unix

In Unix, groff is the front-end for the groff document formatting system. It usually runs the groff program and a postprocessor appropriate for the selected device. For a list of available devices, at the Unix prompt, enter:

 man groff

You can use groff to properly read and format man pages. If you attempt to view a file in one of the man directories (for example, man1, man2) using the cat command, the file will display in an unformatted version. To use groff to format the file properly, enter:

 groff -t -man -Tascii filename.1 | more

Replace filename.1 with the name of the file you are trying to view.

To find out if groff is installed on a Unix system, enter one of the following commands at the Unix prompt:

 whereis groff which groff

At Indiana University, for personal or departmental Linux or Unix systems support, see Get help for Linux or Unix at IU.

This is document acxr in the Knowledge Base.
Last modified on 2023-06-28 11:38:28.