Delete history in linux
If you want to delete history, you can use the command
Step1. history
# history -d < id >
But it will again regenerate,if you login to another terminal
To Delete complete history
cat /dev/null > ~/.bash_history && history -c && exit
That’s all.. 🙂