Posts tagged as:

history -c

How To Clear Shell History On Centos / RedHat

by lifeLinux on August 22, 2011

To clear shell history, type the following command: $ history -c Or remove .bash_history file $ rm -rf ~/.bash_history

{ 1 comment }