curl statuscode

to get via curl a statuscode

curl -I www.website.com