2017
03-16
03-16
检查一段IP范围内是否在线 885 VIEW
#!/bin/bash
#
#
address="10.0.0"
up_count=0
down_count=0
opration () {
ping -W 1 -c 1 $1 &> /dev/null && state=0 || state=1
if [ $state -eq 0 ];then
echo -e "\033[32m$1\tis u.... Read More >