Complete Nmap keyboard shortcuts and commands reference — 15 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.
| 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 |
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.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"