nmap Verified for current stable LTS

Nmap Command: Scan Specific List Of Ports

Use for scan specific list of ports with Nmap. Exact CLI syntax to scan specific list of ports using Nmap.

When to use this: Use for scan specific list of ports with Nmap.

Command Syntax

nmap -p <port1,port2,...> <ip_or_host1,ip_or_host2,...>

Command Breakdown

-p
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to scan specific list of ports using Nmap.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Nmap directory