Q. How to delete/clear bash command line history in Redhat, Fedora,CentOS ?
If you do not want to keep a history of of all your previously entered commands in linux? The below Commands will clear your entire bash command history in your machine.
or
[root@server ~]# rm -rf ~/.bash_history
0 comments:
Post a Comment