Skip to content

Instantly share code, notes, and snippets.

@maxjing
Created January 10, 2019 23:20
Show Gist options
  • Save maxjing/7ad43ced0e3e6c56d12e968eaee28325 to your computer and use it in GitHub Desktop.
Save maxjing/7ad43ced0e3e6c56d12e968eaee28325 to your computer and use it in GitHub Desktop.
parallel run commend on terminal
urls=("http://way-api.rdc-dev.moveaws.com/prod/hptest" "http://way-api.rdc-dev.moveaws.com/prod/srptest" "http://way-api.rdc-dev.moveaws.com/prod/ldptest" "http://way-api.rdc-dev.moveaws.com/beta/hptest" "http://way-api.rdc-dev.moveaws.com/beta/srptest" "http://way-api.rdc-dev.moveaws.com/beta/ldptest")
for url in "${urls[@]}"
do
curl "$url"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment