Back to the learning path

clear

clear: clears the screen Command details
Step 1/1: Clear the screen

clear wipes the screen and moves the prompt to the top; Ctrl+L does the same. Nothing is lost, it is just off screen.

$ clear
Beginnerclear
Clear the screen
The screen is full of compiler output. Clear it with clear (or press Ctrl+L).
historyNext lesson:reset