CLEAR(C) UNIX System V
Name
clear - clears a terminal screen
Syntax
clear [term]
Description
The clear command clears the screen. If term is not
specified, the terminal type is obtained from the TERM
environment variable.
If a video terminal does not have a clear screen capability,
newlines are output to scroll the screen clear. If the
terminal is a hardcopy, the paper is advanced to the top of
the next page.
Files
/etc/termcap
See Also
environ(M), termcap(F), tput(C)
Notes
If the standard output is not a terminal, clear issues an
error message.
(printed 2/15/90) CLEAR(C)