clear (Unix)

clear (Unix)
Clear being used on GNU/Linux under uxterm

​clear​ is a standard Unix computer operating system command which is used to clear the screen.

Depending on the system, 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 MS-DOS command cls.

See also

  • List of Unix programs

External links