1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages/common/clear.md
2021-04-18 15:33:27 +01:00

20 lines
445 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}}`
- Show the version of `ncurses` used by `clear`:
`clear -V`