[Tfug] bash history duplication?
Matt Jacob
matt.jacob at gmail.com
Thu Jun 28 11:06:45 MST 2007
My man page says: "If set to a value of ignoredups, lines matching the
last history line are not entered."
I take that to mean that 'ls' followed by 'pwd' followed by 'uptime'
will all show up, while 'ls', 'ls', 'ls' will only show one occurrence
of ls.
Matt
Earl wrote:
> I have a default line in my .bashrc file that says
>
> export HISTCONTROL=ignoredups
>
> after reading the man page for bash(1), I understand this means
> duplications won't happen. I get dups.
>
> Earl
>
> This computer is M$ and i386 free
> "God made man, Sam Colt made men equal."
> "The fates guide him who will, him who won't they drag" Spengler
>
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
More information about the tfug
mailing list