Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] useful bash tricks thread

Amos Shapira wrote:

Yes but what if you (or someone else sharing the root account) got it
into history by accident?

If I realise that sensitive info made it into the history file,
I remove it by editing .bash_history

You may have to futz around closing that shell and opening a new
one and ensure the info is really gone.


Rick Welykochy || Praxis Services

If you have any trouble sounding condescending, find a Unix user to show
you how it's done.
     -- Scott Adams