On Unix-like operating systems, the clear command clears the screen.
Syntax
clear
Examples
Clear all text on the screen and display a new prompt.
When using the bash shell, you can also clear the screen by pressing Ctrl+L.
- Syntax
- Examples
- Linux commands help