-
-
Save xiaoyvr/3bfb38c578ea2d4dc31f070c8ba88d34 to your computer and use it in GitHub Desktop.
get only status code on 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 -LI mazgi.com -o /dev/null -w '%{http_code}\n' -s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment