mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 03:42:12 +02:00

* pages*: use generic word for help * git: add newline to the end Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * pages*: make help and version commands comply with the style guide * java: fix Java name --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
20 lines
448 B
Markdown
20 lines
448 B
Markdown
# clear
|
|
|
|
> Clears the screen of the terminal.
|
|
> More information: <https://manned.org/clear>.
|
|
|
|
- Clear the screen (equivalent to pressing Control-L in Bash shell):
|
|
|
|
`clear`
|
|
|
|
- Clear the screen but keep the terminal's scrollback buffer:
|
|
|
|
`clear -x`
|
|
|
|
- Indicate the type of terminal to clean (defaults to the value of the environment variable `TERM`):
|
|
|
|
`clear -T {{type_of_terminal}}`
|
|
|
|
- Display the version of `ncurses` used by `clear`:
|
|
|
|
`clear -V`
|