[NTLUG:Discuss] Silly noobie question - history
Patrick R. Michaud
pmichaud at pobox.com
Thu Feb 8 10:22:27 CST 2007
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
More information about the Discuss
mailing list