Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
clear (Unix)
Unix

clear is a computer operating system command which is used to bring the command line on top of the computer terminal. It is available in various Unix shells on Unix and Unix-like operating systems as well as on other systems such as KolibriOS.

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 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.

Related Image Collections Add Image
We don't have any YouTube videos related to clear (Unix) yet.
We don't have any PDF documents related to clear (Unix) yet.
We don't have any Books related to clear (Unix) yet.
We don't have any archived web articles related to clear (Unix) yet.

History

The clear command appeared in 2.79BSD on February 24, 1979. Later, in 1985, the command was also included in Unix 8th edition.3

See also

Further reading

  • McElhearn, Kirk (2006). The Mac OS X Command Line: Unix Under the Hood. John Wiley & Sons. ISBN 978-0470113851.

References

  1. "Shell - KolibriOS wiki". http://wiki.kolibrios.org/wiki/Shell

  2. "ISO 9995-7" (PDF). https://www.tresor.gouv.qc.ca/fileadmin/PDF/ressources_informationnelles/standard_clavier_quebecois/ISO_9995-7.pdf

  3. "Clear 1". https://invisible-island.net/ncurses/man/clear.1.html