[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why does the shell show commands foolishly when I press UP key?



On Mon, Nov 12, 2007 at 10:49:49PM -0800, cls@truffula.sj.ca.us wrote:
> 
> [This message has also been posted to linux.debian.user.]
> In article <9nwMV-4pJ-13@gated-at.bofh.it>, Serena Cantor wrote:
> > I often use UP key to get commands entered previously. The shell show some commands again and
> > again, just because I have used them several times. Can the shell be more smart?

Put this line into .bashrc:

export HISTCONTROL=ignoredups



Reply to: