clear
ShellBeginner In simulator In real LinuxClear the terminal screen
Name: clear: clears the screen
You can practise it right away in the simulator, and use it in real Linux mode too.
Description
clear wipes the terminal screen and moves the cursor to the top left, using the TERM variable to find the right control sequence. Ctrl+L does the same in most terminals.
Syntax
clearExamples
$ clear
Clear the screen (Ctrl+L works too)
Explain