压缩包下载 下载 执行命令 tar -xzvf nmap-7.92.tgz cd nmap-7.92 ./configure make su root //可能失败 make install 局域网正在使用的ip touch test.txt sudo nmap -sP 192.168.1.1/24 > test.txt