mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
20 lines
441 B
Markdown
20 lines
441 B
Markdown
# clear
|
|
|
|
> Clears the screen of the terminal.
|
|
> More information: <https://manned.org/clear>.
|
|
|
|
- Clear the screen:
|
|
|
|
`clear`
|
|
|
|
- Clear the screen but keep the terminal's scrollback buffer (equivalent to pressing Ctrl + L in Bash):
|
|
|
|
`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`
|