Created
May 17, 2016 20:27
-
-
Save fongreecss/3a865df089ed872869554d8a22d5be66 to your computer and use it in GitHub Desktop.
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 | |
curl -sL -w "%{http_code} %{url_effective}\\n" "INSERTURLHERE" -o /dev/null | |
#url - %{url_effective} | |
#code - %{http_code} | |
#inserturlhere - http://google.com for example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment