1、nmap -sP IP/掩码(存活IP)
2、nmap -A ip地址 (nmap查看对应的IP的操作系统)
3、nmap -sT IP地址(扫描TCP端口) 4、nmap -sU ip地址(扫描UDP端口)