[NTLUG:Discuss] Silly noobie question - history

Fred James fredjame at fredjame.cnc.net
Thu Feb 8 10:27:07 CST 2007


Patrick R. Michaud wrote:

>On Thu, Feb 08, 2007 at 10:19:25AM -0600, Richard Geoffrion wrote:
>  
>
>>Stephen Klein wrote:
>>    
>>
>>>Michael Barnes wrote:
>>>  
>>>      
>>>
>>>>At a command line, I use the up arrow and scroll through the history 
>>>>list looking for a command.  
>>>>        
>>>>
>>>The [Page Down] key will take you back to a the empty command line, and 
>>>the beginning of the history.  [Page up] will take you to the first 
>>>command in the history.
>>>
>>>  
>>>      
>>>
>>OK... so what is with the ! ??  Where is the documentation that says 
>>that typing
>>
>>!cat
>>
>>Will run the last 'cat' command that was previously run??
>>What else can you do with ! ??
>>    
>>
>
>Check the bash(1) manual page, in the section that begins
>"HISTORY EXPANSION".
>
>Pm
>  
>
All
Try this resource <http://www.gnu.org/software/bash/manual/bashref.html> 
as well
Regards
Fred James



More information about the Discuss mailing list