bash history

inode0 inode0 at gmail.com
Sat Apr 28 21:51:35 UTC 2012


On Sat, Apr 28, 2012 at 4:38 PM, Peter Gueckel <pgueckel at gmail.com> wrote:
> 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?

That prevents consecutive duplicates only I think.

John


More information about the users mailing list