Nmap scan port code example
Example 1: nmap scan network ip
sudo nmap -sP 10.10.0.0/24
Example 2: nmap portscan
nmap -sP 192.168.1.1
Example 3: nmap port scan
How to scan all target ports
Sudo nmap pasteheretargetip
sudo nmap -sP 10.10.0.0/24
nmap -sP 192.168.1.1
How to scan all target ports
Sudo nmap pasteheretargetip