Hi,

maybe what you are looking for is:

!first_letter_of_the_command

i.e.: in the case of ls -l, if you use !l, it will repeat the last used 
command that started with the letter l.

Rod


On Wed, 29 Jan 2003, Sandip P Deshmukh wrote:

> hello all
> 
> i am sure there must be a way of doing it. i am not getting it though.
> 
> let us say, i have done ls -l , etc etc
> then i have done a few more commands at the prompt.
> 
> now, i want to use that ls command again. is there a way inwhich i can
> reach it quickly? for instance, i type ls and some other key and bash
> completes from history?
 


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

Reply via email to