How to hide previous commands/history in terminal and start like the beginning of the tab?
If you want to clear your terminal window:


use the command clearto clear whatever is showing
use command+K to clear everything


There are other things you can try too:
https://stackoverflow.com/questions/2198377/how-to-clear-previous-output-in-terminal-in-mac-os-x