Skip to content

Instantly share code, notes, and snippets.

@riywo
Created February 22, 2011 11:09
Show Gist options
  • Select an option

  • Save riywo/838522 to your computer and use it in GitHub Desktop.

Select an option

Save riywo/838522 to your computer and use it in GitHub Desktop.
複数サーバに同じコマンド発行する基本
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