How to clear bash history

image of start+ r button
image of run
You can this very easily with command line if you have any operating system like win xp, 7 10 

So follow my instructions










1. First of all go start button and find the run OR Press start+r button
like 














image of cmd












2. It will open run box Type here CMD  











3.  Type rm cmd like
rm ~/.bash_history









4.  Type cmd is ln -s to create a symlink to /dev/null

image cmd ln -s





5.  Now type echo > ~/.bash_history

 echo > ~/.bash_history



6.  Type unset HISTFILE cmd 

image of unset HISTFILE



IT WILL BE CLEAR YOUR BASH HISTORY IF YOU WANT TO EXPORT HERE TYPE export HISTFILE CMD