nmap scan linux example
Example 1: 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.
Example 2: nmap scan ubuntu
sudo nmap 192.168.0.1