Skip to content

Instantly share code, notes, and snippets.

@KTamas

KTamas/check.sh Secret

Created October 28, 2012 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KTamas/1ab093f30e4f6ad748f1 to your computer and use it in GitHub Desktop.
Save KTamas/1ab093f30e4f6ad748f1 to your computer and use it in GitHub Desktop.
#!/bin/sh
cat subscription_urls.txt | while read URL
do
curl -sL -w "%{http_code} %{url_effective} " $URL -o /dev/null
echo "$URL"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment