-
-
Save sergiandreplace/78430cff1c38d3ae9fea6ed29ead580b to your computer and use it in GitHub Desktop.
find wrong urls
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
for URL in `cat urls`; do curl -m 10 -s -X GET -I $1 "$URL" | grep HTTP/1.1 | (awk {'printf $2 '}; echo " $URL")| grep "^[^2]"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment