How to check HTTP response headers

$ curl -I [URL]

Command
curl
Description
Fetch the headers only (HEAD request). Usage: curl -I https://example.com
Deep Dive
-I: Fetch the HTTP-header only.