100 Useful Command-Line Utilities

by Oliver; 2014

20. clear

clear clears your screen:
$ clear
It gives you a clean slate without erasing any of your commands, which are still preserved if you scroll up. clear works in some other shells, such as ipython's. In most shells—including those where clear doesn't work, like MySQL's and Python's—you can use Cntrl-l to clear the screen.

<PREV   NEXT>