On Fri, Nov 09, 2007 at 11:20:13AM +0100, dulev wrote:
> > 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.

... or 'source' the file, e.g.,

    $ . ~/.bashrc

or  $ source ~/.bashrc

Another thing to check out with bash is ^R; hit ^R, then start typing and
bash will show previous commands matching what you type... or something.
Greatest thing since

  $ perl -e '@b=split //,"bread"; print @b[0,1,2,3,4,5], "\n"'

Ken
-- 
Ken Irving, [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to