1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/clear.md
Iván de1d2d2249 clear: add -x, -T and -V examples (#3684)
Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2019-12-27 23:55:05 +01:00

19 lines
397 B
Markdown

# clear
> Clears the screen of the terminal.
- 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`