1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 03:42:12 +02:00
tldr/pages/common/clear.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* 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>
2024-01-30 12:55:24 +08:00

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`