while IFS= read -r line; do wget -q --spider "$line" > /dev/null 2>&1; done < url.txt