linux下ping多台机器,扫描多个特定端口
周末被问倒的一个问题,其实就是考基础的shell
1.linux下ping多台机器:
建立/tmp/servers
[root@localhost tmp]# ./mnc.sh Connection to google.com 80 port [tcp/http] succeeded!Connection to 127.0.0.1 22 port [tcp/ssh] succeeded!
发布时间: 2012-06-29 15:48:47 作者: rapoo
linux下ping多台机器,扫描多个特定端口
周末被问倒的一个问题,其实就是考基础的shell
1.linux下ping多台机器:
建立/tmp/servers
[root@localhost tmp]# ./mnc.sh Connection to google.com 80 port [tcp/http] succeeded!Connection to 127.0.0.1 22 port [tcp/ssh] succeeded!