首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
列出网络上活动主机
列出网络上活动主机
mac
2022-06-30
100
1、
for
ip
in
192.168
.
0
.{
1
..
255
}
do
ping
$ip -c
2
>&
1
/dev/
null
if
[ $? -ne
0
]
then
echo
"
$ip is alive
"
fi
done
2、fping -a 192.168.0.1/24 -g 2>/dev/null
转载于:https://www.cnblogs.com/fanren224/p/8489546.html
相关资源:发现网络中的活动主机
转载请注明原文地址: https://mac.8miu.com/read-11788.html
最新回复
(
0
)