clear - clear terminal screen

clear is a simple Unix/Linux command that clears the text in your current terminal session.

It’s useful when you want to clear the screen after previous commands’ output.

There are no command line parameters and the success of the command is indicated by a blank screen and your shell prompt.

Before running clear:

clear before

After running clear:

clear after

See Also