Network Unix Linux Windows nmap Ubuntu 22.04.5 LTS 1 2 3 $ sudo apt update && sudo apt upgrade $ sudo apt install nmap $ nmap --version 1 2 $ nmap dixu.ddns.net $ nmap 192.168.2.5 1 2 3 $ nmap -p 8080 192.168.2.5 $ nmap -p 22,21,80 192.168.2.5 $ nmap -p 22,21,80 192.168.2.5-253 1 2 3 $ nmap -sV 192.168.2.5 -p 8080 # Detecting server-side software version information $ sudo nmap -O 192.168.2.5 # Identify the operating system of the target host $ sudo nmap -sU 192.168.2.5 -p 53,161