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

Re: (NOT solved)Re: why does the shell show commands foolishly when I press UP key?



> I follow your instruction, but it  doesn't work!
> 
> > > 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 in ~/.bashrc
> > 
> > export HISTCONTROL=ignoredups

Sory.
After that do logout and login again.



Reply to: