clear - clear the terminal screen.
The clear command is used to remove all previous commands and output from consoles and terminal windows in Unix-like operating systems. Clear is one of the very few commands in Unix-like operating systems that accepts neither options nor arguments. After the clear command has been issued, all that remains on the display screen is the command prompt in the upper left hand corner. Removing previous commands and output can make it easier for users to focus on and understand subsequent commands and their output. It can also be useful in preventing the next user on a system from seeing what the previous user did.
|--help||display help and exit|
To clear all text on the screen and only show the prompt
nubo@nubo:~$ ls -lrt
w-rw-r-- 1 nubo nubo 106 Jan 7 19:44 system.bz2
-rw-rw-r-- 1 nubo nubo 46 Jan 7 20:37 xyz
drwxrwxr-x 2 nubo nubo 4096 Jan 8 11:07 system
drwxr-xr-x 2 nubo nubo 4096 Jan 8 11:08 web
-rw-rw-r-- 1 nubo nubo 15 Jan 8 14:26 file1.txt
nubo@nubo:~$ cksum -h
cksum: invalid option -- 'h'
Try 'cksum --help' for more information.