clear (Unix)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Clear being used on 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.

In ISO 9995-7 specifies that the following symbol be used to indicate this function on a keyboard, which is include in Unicode as: ⎚ CLEAR SCREEN SYMBOL.[1]root

See also[edit]


  1. ^ "ISO 9995-7" (PDF). 

External links[edit]