clear
uses the terminfo or termcap database, as well as looking into the environment for the terminal type in order to deduce how to clear the screen. The Unix command clear
takes no arguments and is roughly analogous to the command cls
on a number of other operating systems.
In ISO 9995-7 specifies that the following symbol be used to indicate this function on a keyboard, which is included in Unicode as: ⎚ CLEAR SCREEN SYMBOL.
One may use the reset
command to erase every previous command.
History
Theclear
command appeared in 2.79See also
* List of Unix commandsReferences
Further reading
*External links
man
) page for clear