shell
happyjanezj
test
展开
-
2021-02-08
shell 教程http://home.ustc.edu.cn/~xie1993/linux/linux-shell.html原创 2021-02-08 15:57:50 · 72 阅读 · 0 评论 -
【shell】判断网段内有效的ip地址
[root@xt1 ~]# for i in 192.168.200.{1..20};do (a=`ping $i -c 1 |grep Unreachable`;[[ -z $a ]] && echo $i) ;done 192.168.200.1192.168.200.2192.168.200.3192.168.200.6192.168.200.7192.168....原创 2018-07-31 16:13:48 · 1246 阅读 · 0 评论