Terminal Dojo
Help العربية Sign inGet started

Command library / nmap

nmap

BashDraft — pending expert review6 practice missions

Network mapper: finds hosts, open ports and service versions

Nmap ("Network Mapper") discovers hosts on a network, finds their open ports and can identify the services, versions and operating systems behind them. Scan types are single-dash options whose letters are case-sensitive (-sS, -sV, -sU). Only scan systems you own or have written permission to test.

Practice nmap

Usage

nmap [scan type] [options] <target>
Scope: Scanning networks you do not own or are not authorised to test may be illegal. Use your own lab, a CTF range, or a target that explicitly permits it.

Options and flags

Examples

Common mistakes

nmap -sv 192.168.1.10 nmap -sV 192.168.1.10

Scan-type letters are case-sensitive: `-sv` does not exist, `-sV` is version detection.

nmap -pn 10.10.10.5 nmap -Pn 10.10.10.5

`-p` takes a port list; skipping host discovery is `-Pn` with a capital P.

Related commands

hydranetstat