Created
October 2, 2014 16:30
-
-
Save xexu/6bf68d3e9298f41f7b40 to your computer and use it in GitHub Desktop.
Check http status of urls in a file
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
for i in `cat urls.txt`; do curl -s -o /dev/null -w "%{http_code} " $i; echo $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment