Re: Command history
On Thu, Apr 28, 2011 at 01:58, shawn wilson <email@example.com> wrote:
> And I'd like a way for my system to not store my password scheme. I'd prefer
> something better than editing my history file.
Instead of tampering with your system what would you say on issuing those
sensitive commands in a new shell and then KILL that shell?
$ echo "This will propably get into .bash_history."
This will propably get into .bash_history.
$ echo "While this won't when this shell gets KILLED!" | sha512sum
$ pgrep bash
$ kill <PID-of-that-new-bash-shell>