Quoted from Lan Barnes [30 Jan 2005]:
> I believe it's more persistent than that and the file would need erasing
> (or 'history -c' could be invoked on logout). But that's the idea.

Or, ``unset HISTFILE''. You can do this on a per-session basis, so that
you can just do it every time you accidentally type a password. But of
course, you can just, like you said, ``history -c'' in that case.

I used to have ``unset HISTFILE'' in my bash startup script. I'm not
personally bothered by it anymore---I use sudo for everything, and the
resulting greater caution required (as my sudo logs are intentionally
world-readable) means that I seldom have anything that I need ``wiping
out of the record''.

Your mileage may vary.

        ---Chris K.
P.S. I haven't posted to this list for some years, but seeing as my
kplug folder has, as of now, exactly 40000 new messages, I thought
that was a sign to start reading the list again. Or something.

-- 
 Chris, the Young One |_ Life is too short to not hit things with
  Auckland, New Zealand |_ drumsticks just because they're not
http://cloud9.hedgee.com/ |_ specifically designed for it. ---Ethan Straffin
-- 

KPLUG-List mailing list
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to