Created
April 18, 2018 17:24
-
-
Save raizyr/96fd0992e1d68677206e556367b8909e to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
domains=("echo360.org" "echo360.org.uk" "echo360.org.au") | |
pids="" | |
for domain in ${domains[@]}; do | |
ping -c6 -i10 $domain & | |
pids="$pids $!" | |
done | |
wait $pids |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment