Owen Townend wrote:
2009/2/9 Amos Shapira <amos.shap...@gmail.com>:
[snip]
And one last thing, related to security - if you type a sensitive
string on the command line and get it into your history, use "history
-d" to delete this line.


There is an easier way around this. Most shells, bash included will
exclude a line from the history if you begin it with a space.

My bash doesn't do this. It includes the line in the history :(

but

HISTSIZE=2000
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor

might have an effect on this behaviour.

cheer
rickw



--
_________________________________
Rick Welykochy || Praxis Services

If you have any trouble sounding condescending, find a Unix user to show
you how it's done.
     -- Scott Adams
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to