Read just our best, feature-length articles without all the extra stuff.
Clear the command shell window in Ubuntu
Enter your email below to get exclusive access to our best articles and tips before everybody else.
Very simple, either use the clear command:
or hit Ctrl+L
Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on Google+ if you'd like.
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
To clear the command history of a terminal session forever
you have to do this after :
Thomas Jefferson and John Adams were the only men who signed the Declaration of Independence and then went on to become President of the United States.
Enter your email address to get our daily newsletter.
Enter Your Email Here to Get Access for Free: