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:
%t are tens. %d are digits. One may have further outer loops to provide hundreds, thousands, etc.
This example applies ping to the numbered machines. The pattern can be used in other ways to apply all combinations of components to a task.
There are 4 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.