I read about a shell variable called HISTIGNORE that is supposed to prevent duplicate
commands from occurring in .bash_history.
I put the following line into ~/.bash_profile:
export HISTIGNORE="&"
It's not working. I still have duplicate commands galore. Why isn't is working?