I have a for loop that is curling the contents of a file, the file contains 2 million web addresses.
I woud like to create a for loop that instead of curling the address 1 at a time, curls 1000 at once.
At the moment my for loop is as follows:
for i in `cat file.txt`; do curl $i done
How can I acheive this?