Paco

Personal Content Organiser

Home / Linux

Navigation

Menu

Search

curl - get a respone header and code

Get a header:
curl -I https://pastuszko.net


Get response code:
curl -o /dev/null -I -s -w "%{http_code}\n" https://pastuszko.net