Complete Nmap keyboard shortcuts and commands reference — 15 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.
Nmap is a popular infrastructure management tool used by professionals worldwide. Learning keyboard shortcuts can dramatically speed up your workflow — studies show shortcut users save an average of 8 days per year compared to mouse-only users.
This page covers all 15 Nmap shortcuts across 2 categories: Basic Scans, Advanced Options. Each shortcut includes a description to help you understand when and how to use it effectively.
| Shortcut | Action |
|---|---|
| nmap <target> | Basic scan |
| nmap -sV <target> | Service version |
| nmap -O <target> | OS detection |
| nmap -A <target> | Aggressive scan |
| nmap -p 80,443 <target> | Specific ports |
| nmap -p- <target> | All ports |
| nmap -sU <target> | UDP scan |
| Shortcut | Action |
|---|---|
| nmap -sn 192.168.1.0/24 | Ping sweep |
| nmap --script vuln <target> | Vuln scan |
| nmap -T4 <target> | Fast timing |
| nmap -oN output.txt | Save output |
| nmap -oX output.xml | XML output |
| nmap -v <target> | Verbose |
| nmap -iL hosts.txt | Input from file |
| nmap --open <target> | Open ports only |
Nmap's 15 shortcuts on this page are organized into 2 categories: Basic Scans (7), Advanced Options (8). Advanced Options is the largest group with 8 shortcuts — a good place to focus first if you're building muscle memory from scratch.
Unlike many tools we cover, Nmap's key combinations here don't heavily overlap with other platforms in our database — worth learning on their own terms rather than by analogy.
New to Nmap? Start with Basic Scans above — it's usually where the shortcuts you'll reach for constantly live. Once those feel automatic, work through Advanced Options to round out your workflow.
Want this on paper? The printable cheat sheet turns these 15 shortcuts into a one-page PDF you can pin above your desk. Prefer to learn by doing? Shortcut Speedrun turns memorization into a timed typing challenge with a global leaderboard, so you find out which Nmap shortcuts you actually remember under pressure.
The most essential Nmap shortcuts are: nmap <target> (Basic scan), nmap -sV <target> (Service version), nmap -O <target> (OS detection). These cover the most frequent actions and can significantly speed up your workflow.
Nmap has 15 keyboard shortcuts across 2 categories on shortcut-tools.com.
Simply press the key combination while Nmap is focused. Most shortcuts work immediately. On Mac, replace Ctrl with Cmd and Alt with Option for most shortcuts.
The Nmap shortcut for basic scan is nmap <target>.
Nmap includes 8 Advanced Options shortcuts, including nmap -sn 192.168.1.0/24 (Ping sweep) and nmap --script vuln <target> (Vuln scan). See the full list in the Advanced Options section above.
Nmap includes 7 Basic Scans shortcuts, including nmap <target> (Basic scan) and nmap -sV <target> (Service version). See the full list in the Basic Scans section above.
Yes — use My Stack to combine Nmap shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.
Start with the essentials: Learn nmap <target> (Basic scan) and nmap -sV <target> (Service version) first — these are the most commonly used.
Practice daily: Pick 2–3 new shortcuts each day and consciously use them instead of the mouse. Within a week, they become muscle memory.
Print this cheat sheet: Keep a reference nearby until shortcuts become automatic. Focus on the Basic Scans category first.
Infrastructure tip: Bookmark this page for quick reference during maintenance windows when speed matters most.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"