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

How to use curl to get http response status code only

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