Display HTTP response headers
- Display HTTP response headers:
curl -sD - -o /dev/null http://example.com
[1]- -s Avoid showing progress bar
- -D Dump headers to a file, but - sends it to stdout
- -o /dev/null Ignore response body
See also
wget
,cURL
,links
,lynx
,elinks
,w3m
,httpie, opensearch-cli curl
,--no-check-certificate, wget --help
Advertising: