title: How to execute curl command generated by for loop in bash shell?
body: <p>I have generated curl command from the for loop.</p>
  
  <pre><code>for ((i=1; i&lt;=1000; i++)); do  
  echo "curl http://example.com/page.php?page=$i"; done 
  </code></pre>
  
  <p>For now it prints desired curl command. Instead of just printing the curl command i want to execute the curl command. How do i make it work?</p>
  
  <p>Thanks in advance.</p>