Bash History How to?

Frank Murphy frankly3d at gmail.com
Tue Jun 1 11:17:13 UTC 2010


I would like to prevent .bash_history being
created for root.

And when "sudo" invoked by user.

Have tried:
export HISTCONTROL=ignoreboth

but nothing seems to be added to .bashrc

this has come abote as I seem to have
/tmp/.bash_history
which may not be good :(

-- 
Regards,

Frank Murphy
UTF_8 Encoded
Friend of Fedora


More information about the users mailing list