Beginner’s Guide to nmap – Part 2
Showing Only IPs of Active Hosts / Output to File There may be a need to output only the IP addresses of the active hosts on a subnet. We can strip out all of the nmap standard output except the IP address of each active host with the following command: nmap -n -sn 192.168.56.0/24 -oG…