while read line do ip=`echo $line | awk '{print $2}' ` ping -c 1 -i 0.2 -W 3 $ip if [ $? -ne 0 ];then echo $line | tee -a b fi done < $1
ping使用
猜你喜欢
转载自www.cnblogs.com/tengfei520/p/9838765.html
今日推荐
周排行