Last active
February 16, 2023 20:18
-
-
Save abeger/b191df15801997d9bdc584a61d5cae78 to your computer and use it in GitHub Desktop.
Just get the HTTP code for a given URL with curl
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
curl -I -s -o/dev/null -w"%{url_effective} %{http_code}\n" -m 5 URL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment