Linux: Check the Http Status of your website with cURL

curl -s -o /dev/null -w "Status: %{http_code}\n" 

Resulting output should look like the following…

Status 200

if the site is available and the server is connected.