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

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



> The ls command show once, but pwd show twice.

Correct.

> It seems to me that HISTCONTROL=ignoredups sometime work, sometime does
> not work.

HISTCONTROL remove duplicate near-by commands only and it work always. :)

> It does not work as I have hoped.

Sorry.

> > Try:
> > 
> > pwd
> > cd
> > ls
> > ls
> > ls
> > pwd
> > 
> > then press UP and you will see difference.



Reply to: