how to find my network for nmap to scan code example Example: scan entire network nmap nmap -sP 192.168.1.0/24