commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
The important thing to note in this command, is the "-n" flag.
There are 3 alternatives - vote for the best!
dsh - Distributed shell, or dancer?s shell ;-)
you can put your servers into /etc/dsh/machines.list than you don't have to serperate them by commata or group them in different files and only run commands for this groups
dsh -M -c -a -- "apt-get update"
If you can do better, submit your command here.
You must be signed in to comment.