Created
February 22, 2011 11:09
-
-
Save riywo/838522 to your computer and use it in GitHub Desktop.
複数サーバに同じコマンド発行する基本
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i in host1 host2 host3; do echo $i; ssh $i "rm -fr /"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment