I've learned that we can send multiple HTTP requests with CURL by doing this:
curl -I http://linuxbyexample.co.nr http://lne.blogdns.com/lbe
or this:
xargs curl -I < url-list.txt
How can we save the all responses we get – every one of them to a different file?
Best Answer
You can use the
-o
command line option to write the output to a file instead of stdout. You can use multiple-o
s e.g.If you format you urls-list.txt like so
it should work as you want.