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

Re: can't the shell do a better job

On Sat, Jan 01, 2005 at 02:52:12PM +0800, Smith a wrote:
> when i am in command line , i often use up arrow key to get commands used 
> before, but if i have used a command several times,  the up arrow key will 
> display the same command several times, this is not welcome.  
> ~/.bash_history contains the commands used before, can the shell display 
> the same command just once?

It can but you have to tell it that you want it that way.  Try 'export


 .''`.  Jason Chambers <chambersj@thingy.org.uk> 
: :'  : Registered linux user #271693 
`. `'`  
  `-    http://www.debian.org/ - The Universal Operating System

Attachment: signature.asc
Description: Digital signature

Reply to: