Clear a terminal screen for real
Using the clear command on the terminal only fools the user into thinking the screen has been cleared...you can still see output from the previous commands when you scroll using the mouse. This makes life difficult when you are drowning in a tsunami of text. Various solutions (escape code etc.) which can be found on the Internet are only variations of what the clear command already does. So how do you clear the contents of a terminal in Linux for real? Autodidact Use the following command to do a clear screen instead of merely adding new lines ... printf "\033c" yes that's a 'printf' on the