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
clear
Try reset. It clears up the terminal screen but the previous commands can be accessed through arrow or whichever key binding you have.
reset