What does the -I flag make curl do?
curl -I https://example.com
- Fetch only the response headers
- Ignore any TLS certificate errors
- Save the body to a local file
- Follow redirects automatically
-I sends a HEAD request and prints the headers; -k ignores TLS errors and -L follows redirects.