0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 513
/ 3 Years ago, mon, july 5, 2021, 7:59:48
I've got a problem with my Ubuntu 22.04. I want to clear out the command line history, so I type 'history -c' and everything seems fine, I type 'history' and it's all cleard. Then, I logout and shutdown, log in again and type 'history' once again and I'm back to square one with all my previous commands from the previous sessions.
I've already tried typing varieties of commands:
cat /dev/null > ~/.bash_history
cat /dev/null > ~/.bash_history && history -c && exit
echo > ./.bash_history
but nothing works. Thanks in advance, cheers
More From » 22.04