check availability http code example Example: check availability http $ curl -Is -K HEAD http://www.shellhacks.com/en/Bash-Colors | head -n 1