On 04/29/2012 07:44 AM, Peter Gueckel wrote:
Andy Blanchard wrote:
> What you want is:
> export HISTCONTROL=erasedups
It looked promising, but it doesn't work. I logged out and back in twice, then even
completely turned off the computer and back on again, but when I examine the
.bash_history file, it is riddled with duplicate commands.
I didn't do that much testing.....being summoned for breakfast. But, it seemed to
work fine for me.
I did 5 cat /etc/hosts followed by 5 ls /tmp and then repeated the cycled. Logged
out and Logged in and did a cat .bash_history.
The last few lines were....
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage