Handy commands for nmap



Scan IP range

Find the hosts that are alive within an IP range.

nmap -sP

Scan port range

Find ports on a host.

nmap -p100-200

Scan for OS

Try to find out what OS a host is running.

nmap -O

Scan for udp services

This needs root privileges.

nmap -sU