Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs

Partner Sites
JustLinux.com
Linux Planet
PHPBuilder
Technology Jobs

Top White Papers

More on LinuxToday


Fun with Linux Commands

Oct 20, 2008, 06:02 (1 Talkback[s])

[ 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: