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. --- Andrei Popescu <[EMAIL PROTECTED]> wrote: > On Fri, Nov 09, 2007 at 01:58:34AM -0800, Serena Cantor wrote: > > [top posting fixed] > > > > > 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 > > > I follow your instruction, but it doesn't work! > > Did you try logging out and then back in (or closing the xterm if that's > what you are using)? > > Regards, > Andrei > -- > If you can't explain it simply, you don't understand it well enough. > (Albert Einstein) > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]