[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?



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?


If you are using bash, export HISTCONTROL=ignoredups (or something like that) will do what you want.

--
Raj Kiran Grandhi



Reply to: