nmap scan network information code example
Example 1: nmap scan network ip
sudo nmap -sP 10.10.0.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.