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.
OPERANDS
term
Indicates the type of terminal. Normally, this operand is unnecessary because the default is taken from the environment variable TERM.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: