nmap ports scan code example
Example 1: nmap portscan
nmap -sP 192.168.1.1
Example 2: nmap port scan
How to scan all target ports
Sudo nmap pasteheretargetip
nmap -sP 192.168.1.1
How to scan all target ports
Sudo nmap pasteheretargetip