import csv
csv_iter = csv.reader(file('temp.csv'))
next(csv_iter)
for row in csv_iter:
print row
for i in `cat domains.txt`; do
whois $i
done
for /l %i in (0,0,1) do @cmd /c "echo.|set/p=%TIME:~0,8^%" & ping -n 1 google.com | find "Reply" & ping -n 2 localhost > nul
#!/bin/bash
while true
do
TIME=`date +%T`
PING=`ping $1 -c 2 | grep icmp | grep seq=2`
echo "[$TIME] $PING" >>/tmp/pingtime.log
echo "[$TIME] $PING"
sleep 5
done