!100 will execute item 100 in your command history. I generally do a history | grep something, and then !thenumber
You can also do !string where string is the beginning of a previously entered command. This will execute the last command starting with that string.
Example:
# ssh [EMAIL PROTECTED]
later
# !ssh
will execute the most recent ssh command in history.
TTYL,
Phillip Rhodes
--
When the 1st Amendment no longer protects your voice.
And when the 4th Amendment no longer protects your privacy or your stuff.
Thank God we have the 2nd Amendment to tell our elected representatives that enough is enough.
It's time to put "... from my cold, dead hands" back where it belongs.
FREE AMERICA Vote Libertarian www.lp.org
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
