Shell脚本写一个快速简单的检测局指定域网内有多少台服务器
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22#!bin/bash fname_up=ip_list_up_`date+"%Y-%m-%d"`.txt fname_down=ip_list_down_`date+"%Y-%m-%d"`.txt echo"The ip list for online:">$fname_up echo"The ip list for ...