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

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



The ls command show once, but pwd show twice.

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

It does not work as I have hoped.

--- dulev <dusan.vodopivec@pro-ing.co.yu> wrote:

> > I find "export HISTCONTROL=ignoredups" in comment in .bashre and
> > uncomment and save and logout.
> > 
> > It does not work!
> > 
> > I try the following commands:
> > 
> > ls
> > pwd
> > cd
> > ls
> > whoami
> > 
> > Then I press UP key.
> 
> 
> Try:
> 
> pwd
> cd
> ls
> ls
> ls
> pwd
> 
> then press UP and you will see difference.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Reply to: