Bash Clear History

One would asume that the following command:

history -c

One annoying side-effect is that the history entries has a copy in the memory and it will flush back to the file when you log out. A work around that works is the following.

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