Hello, Linux users !
In this tutorial I will show you how to remove your history for Terminal, or bash shell (formerly command line).
Let's go :
1. Open Terminal and paste one of these commands :
sudo su
or
sudo -i
2. List your command history with history.
history
3. Delete your command history.
Use -c and -w parameters.
history -c && history -w
Or clear ./.bash_history history path :
echo > ./.bash_history
Enjoy it