linux
How to Clear the Terminal History on Linux / Mac OS X

It’s easy. Just type this command: history -c All that history is stored in the ~/.bash_history file — that tilde and slash represent our user folder, so it’s really something like /home/username/.bash_history and it contains all of the commands we’ve typed at the terminal. We could just edit that file to remove the line that …
0
09
Mar