Bash script to check if a website is online