Last Updated: September 29, 2021
·
16.63K
· jplmelanson

How to use curl to get http response status code only

curl -sL -w "%{http_code}" -I "www.google.com" -o /dev/null