less than 1 minute read

OS X terminal
A really simple way to clear terminal history in either linux or mac is to use this command:

cat /dev/null > ~/.bash_history && history -c && exit

Updated:

Leave a comment