Created
April 26, 2018 09:04
-
-
Save JTLR/1592a5396e2f0b1fc02379112008cfe7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while read url; do | |
url=${url%$'\r'} | |
echo $url >> response.txt | |
curl --head $url >> response.txt | |
done <urls.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment