标签:ping
cat ~/ping-thread-net.sh #!/bin/bash PING (){ ( > /tmp/downip_list > /tmp/upip_list ping $1 -W1 -c1 -q > /dev/null 2>&1 if [ $? -ne 0 ];then echo $1 >> /tmp/downip_list else echo $1 >> /tmp/upip_list fi)& } for ip in `seq 1 254` do PING 192.168.86.$ip done
本文出自 “勿忘初心” 博客,请务必保留此出处http://winterysea.blog.51cto.com/9677346/1681745
标签:ping
原文地址:http://winterysea.blog.51cto.com/9677346/1681745