Curl
From Useful Things
Common arguments
-I request header only
-L use with -I to follow redirects
Check response headers
curl -I http://www.google.com/-I request header only
-L use with -I to follow redirects
curl -I http://www.google.com/