Skip to content

Instantly share code, notes, and snippets.

@raizyr
Created April 18, 2018 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raizyr/96fd0992e1d68677206e556367b8909e to your computer and use it in GitHub Desktop.
Save raizyr/96fd0992e1d68677206e556367b8909e to your computer and use it in GitHub Desktop.
#!/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