Clear the command shell window in Ubuntu
Very simple, either use the clear command:
clear
or hit Ctrl+L
This article was originally written on 09/11/06

Daily Email Updates
You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


CTRL+L is quite useful because of the large space between your last output and your current cursor position.
These commands do *not* clear your command history; at best, they clear the terminal and move the prompt to the top of the window (if you’re in a graphical desktop). Press UP ARROW and you’ll still see your command history.
To clear the command history of a terminal session, do
history -c