Link Search Menu Expand Document


Clears the screen of the terminal. More information:

  • Clear the screen (equivalent to pressing Control-L in Bash shell):


  • 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