clear (Unix)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
clear
Original authorComputer Systems Research Group at the University of California, Berkeley
DevelopersVarious open-source and commercial developers
Initial releaseFebruary 24, 1979; 47 years ago (1979-02-24)
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemUnix, Unix-like, V, KolibriOS
    TypeCommand

    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.[1]

    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.

    ISO standard 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.[2]

    One may use the reset command to erase every previous command.

    History

    [edit | edit source]

    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

    [edit | edit source]

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

    Further reading

    [edit | edit source]
    • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]