Linux下使用nmap扫描局域网存活的IP


[root@z05 ~]# nmap -sP 192.168.0.0/24|grep 192.
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Nmap scan report for 192.168.0.1
Nmap scan report for z01 (192.168.0.11)