Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #!/bin/bash
  2.  
  3. for site in `cat sites`  ; do
  4.  
  5.     RET=`curl -I $site 2> /dev/null | grep ^HTTP | awk '{print $2}' `
  6.  
  7.    if [ $RET -ne 200 ] ; then
  8.       echo "$site com problema"
  9.    fi
  10.  
  11. done