Created
February 5, 2015 14:08
-
-
Save Bonno/5c1b5a4dabfc6f304ad2 to your computer and use it in GitHub Desktop.
Check list of domains for their http status codes
This file contains 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
#!/bin/bash | |
while read LINE; do | |
curl -o /dev/null --silent --head --write-out '%{http_code}' "$LINE" | |
echo " $LINE" | |
done < url-list.txt |
This file contains 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
google.nl | |
example.com | |
asfjnadfka.ka |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment