1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages/common/clear.md
Dugi 193c6230d4
clear: fix -x description (#14966)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-11-25 19:05:32 +01:00

441 B

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