Need to check a URL's status code or headers without downloading the page?
curl -I https://example.com
-I sends a HEAD request and prints only the headers. Good for spotting redirects, caching rules, and content types.commit 4b21a33