This example lists out the IPs that are on the SSH port (22) on a particular subnet. List out IPs (only) of open ssh ports
Performing a Quick nmap Ping Scan on a Subnet
This will quickly do a scan on a subnet to determine IP addresses on the network. Only Return IP Addresses If you only want to