日期:2014-05-16 浏览次数:20655 次
while read line; do if [ -n "$line" ]; then echo -n "$line " ping -c 1 -w 1 $line ------解决方案-------------------- awk -F '[()]+' '/^PING/{print $2}' fi done < URL.txt