I have generated curl command from the for loop.
for ((i=1; i<=1000; i++)); do
echo "curl http://example.com/page.php?page=$i"; done
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?
Thanks in advance.
curl "http://example.com/page.php?page=$i"?