clear history in the terminal
Joe Ventker
joe at illegal-access.de
Wed May 10 20:37:57 UTC 2006
Hi Dennis,
there are no stupid questions... Your "shell-history" is stored in the
"~/.bash_history"-file. So, if you want to remove the history, just
remove the file.
Nice "hack": If you want this to be the default.... just "immutable"
this file:
rm ~/.bash_history # delete file
touch ~/.bash_history # create "empty" history
chattr +i ~/.bash_history # disable changes on that file ;-)
cu,
Joe
PS: Depending on your shell, the name of the history-file may change,
but typically is something like ".*_history"
--
Dipl.-Ing. Jörg Ventker joe at illegal-access.de
Schlösserweg 26 (+49)(0)2572-87 14 87
D-48282 Emsdetten (+49)(0)170-44 900 14
More information about the fedora-list
mailing list