nmap advanced scan code example
Example 1: scan entire network nmap
nmap -sP 192.168.1.0/24
Example 2: nmap list scan
nmap -sL {target netblock(s)} # List Scan nmap which simply enumerates every IP address in the given target netblock(s) and does a reverse-DNS lookup on each.