Quick Note: Clear bash history completely

The file ~/.bash_history holds the history.

To clear the bash history completely on the server, open terminal and type:

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

By zam

Any Comments?

This site uses Akismet to reduce spam. Learn how your comment data is processed.