Steve Kowalik wrote:
On Mon, 23 May 2005 18:56:56 +1000, Rick Welykochy uttered

  $ echo "This is fun!"
  -bash: !": event not found


Bash uses ! as a shell short-cut character. For example:
!! Execute previous command
!n Execute nth previous command
!string Execute previous command starting with string
!?string? Execute previous command containing string

I've always wondered how you get a list of .bash-history so that you know the value of n.


Cheers,

--
Howard.
LANNet Computing Associates - Your Linux people <http://lannet.com.au>
--
When you just want a system that works, you choose Linux;
When you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.
begin:vcard
fn:Howard Lowndes
n:Lowndes;Howard
org:LANNet Computing Associates
adr:;;PO Box 1174;Lavington;NSW;2641;Australia
email;internet:howard [AT] lowndes [DOT] name
tel;work:02 6040 0222
tel;fax:02 6040 0222
tel;cell:0419 464 430
note:If you want to phone me, you will need to ensure that your phone presents Caller ID.
x-mozilla-html:FALSE
url:http://www.lannet.com.au
version:2.1
end:vcard

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to