Shell and Environment

clear

Clears the terminal display.

clear moves previous terminal output out of view, giving you a clean screen while keeping scrollback depending on terminal behavior.

Syntax
clear

Arguments explained

  • No required arguments.

Common examples

Clear the screen
clear

Refreshes the terminal display.

Use keyboard shortcut
Ctrl+L

Many shells clear the screen with Ctrl+L.

clear Command
FieldDetails
Commandclear
CategoryShell and Environment
Primary useClears the terminal display.
Syntaxclear