how to scan for open ports and services with nmap code example Example: nmap port scan How to scan all target ports Sudo nmap pasteheretargetip