Created
January 10, 2019 23:20
-
-
Save maxjing/7ad43ced0e3e6c56d12e968eaee28325 to your computer and use it in GitHub Desktop.
parallel run commend on terminal
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
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