Unix HEAD check

Needed to check the HEAD of a URL on two Unix servers today. Goal was to check if routing, firewall and load balancer rules were all good. One server only had curl, and the other only had wget, so here are commands for both:

$ wget -S --spider http://geekality.net
$ curl -i -X HEAD http://geekality.net

  • http://www.geekality.net/ Torleif Berger

    Good thing I wrote that down here, so I don’t have to google everytime I need it… (testing Disqus)

    • http://www.geekality.net/ Torleif Berger

      Indeed!