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.