Clear (Unix)

clear

Clear being used on Linux under uxterm

Original author(s)| Computer Systems Research Group at the University of California, Berkeley
Developer(s)| Various open-source and commercial developers
Initial release| February 24, 1979; 47 years ago (1979-02-24)
Operating system| Unix, Unix-like, V, KolibriOS
Type| Command

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

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

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

## Contents

* 1 History
* 2 See also
* 3 References
* 4 Further reading
* 5 External links

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

* List of Unix commands

## References

1. ↑ "Shell - KolibriOS wiki". http://wiki.kolibrios.org/wiki/Shell.
2. ↑ "ISO 9995-7". 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.

## Further reading

* The Mac OS X Command Line: Unix Under the Hood. John Wiley & Sons. 2006. ISBN 978-0470113851.

## External links

* The manual (`man`) page for `clear`

* v
* t
* e

Unix command-line interface programs and shell builtins

File system|

* cat
* chmod
* chown
* chgrp
* cksum
* cmp
* cp
* dd
* du
* df
* file
* fuser
* ln
* ls
* mkdir
* mv
* pax
* pwd
* rm
* rmdir
* split
* tee
* touch
* type
* umask

Processes|

* at
* bg
* crontab
* fg
* kill
* nice
* ps
* time

User environment|

* env
* exit
* logname
* mesg
* talk
* tput
* uname
* who
* write

Text processing|

* awk
* basename
* comm
* csplit
* cut
* diff
* dirname
* ed
* ex
* fold
* head
* iconv
* join
* m4
* more
* nl
* paste
* patch
* printf
* sed
* sort
* strings
* tail
* tr
* uniq
* vi
* wc
* xargs

Shell builtins|

* alias
* cd
* echo
* test
* unset
* wait

Searching|

* find
* grep

Documentation|

* man

Software development|

* ar
* ctags
* lex
* make
* nm
* strip
* yacc

Miscellaneous|

* bc
* cal
* expr
* lp
* od
* sleep
* true and false

* Categories
* Standard Unix programs
* Unix SUS2008 utilities
* List

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Clear (Unix). Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Clear_(Unix)&oldid=701984"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template