OS detection
Enable OS detection (requires root)
nmap -O 192.168.1.1
- tool
- nmap15 commands
More nmap commands
-
nmap -A 192.168.1.1Enables OS detection, version detection, script scanning, and traceroute
-
nmap 192.168.1.0/24Scan all hosts in a /24 subnet
-
nmap -sn 192.168.1.0/24Discover live hosts without port scan
-
nmap -p 22,80,443,8080 192.168.1.1Scan only specified ports
-
nmap -p 1-1024 192.168.1.1Scan ports in a given range