Linux and Unix ul command

Quick links

About ul
Syntax
Examples
Related commands
Linux and Unix main page

About ul

Originally appeared in BSD3.0, UL reads the named filenames or terminal and does underlining.

Syntax

ul [-i] [ -t terminal ] [filename]

-iIndicate underlining by a separate line containing appropriate dashes `-'; this is useful when you want to look at the underlining which is present in an nroff output stream on a CRT-terminal.
-t terminalOverride the terminal kind specified in the environment. If the terminal cannot underline,
underlining is ignored. If the terminal name is not found, no underlining is attempted.
filenameName of the file.

Examples

ul myfile.txt

runs ul through the file myfile.txt.

Related commands

cat
man
nroff