title: Run multiple curl commands in parallel
body: <p>I have the following shell script. The issue is that I want to run the transactions parallel/concurrently without waiting for one request to finish to go to the next request. For example if I make 20 requests, I want them to be executed at the same time.</p>
  
  <pre><code>for ((request=1;request&lt;=20;request++))
  do
      for ((x=1;x&lt;=20;x++))
      do
          time curl -X POST --header "http://localhost:5000/example"
      done
  done
  </code></pre>
  
  <p>Any guide?</p>