CLEAR(1) User Commands CLEAR(1)

clear - clear the terminal screen

clear [term]

The clear utility clears the terminal screen if this is possible. It looks in the environment for the terminal type, if this is not already specified by the term operand, and then looks up the terminfo database to figure out how to clear the screen.


Indicates the type of terminal. Normally, this operand is unnecessary because the default is taken from the environment variable TERM.

tput(1), attributes(7)

July 12, 2002 OmniOS