Fun with Linux Commands
Oct 20, 2008, 06:02 (1 Talkback[s])
WEBINAR:
On-Demand
How to Help Your Business Become an AI Early Adopter
[ Thanks to ashokgelal for this link.
]
"3. Repeat the last executed command
$ !!
When is this useful? If you are writing a shell script and want
to execute a command twice. Another case where it comes handy is
you forgot to add something in front of a long command such as
apt-get install foo foo1 foo2 foo3 foo4 foo5."
Complete
Story
Related Stories: