RHEL8: Clear history
empty file and run command
sudo vi /home/drift/.bash_history
history -cw
echo "" > ~/.bash_history && history -c && exit
Some notes from work
empty file and run command
sudo vi /home/drift/.bash_history
history -cw
echo "" > ~/.bash_history && history -c && exit
Leave a Reply