Discover live hosts on an authorized subnet without port scanning
Build a paste-ready command, then review its compatibility and effects before running it.
Complete required fields to copy the generated command.
Compatibility
Linux + macOS + WindowsVerified for Linux, macOS, Windows using bash, zsh, powershell syntax.
Operational knowledgereview due 2027-01-19
Requirementsnmapnmap must be installed and available on PATH.Network accessThe target must be reachable from the current environment.
Version supportnmap Current supported releasesVerified for linux, macos, windows using bash, zsh, powershell syntax; consult compatibility notes for platform-specific differences.
Expected signalsNmap scan report for router.local (192.168.1.1)Representative successful output; values vary with the selected target and system state.
Known errorsnmap: command not foundnmap is missing or is not available on PATH.
Verifynmap -sn {{subnet}}Re-run the corresponding read-only inspection and confirm the intended state.Rollback noteNo universal automatic rollback is available. Capture the current state and use the tool-specific recovery procedure before applying changes.
Command breakdown
01nmapCommandRuns the nmap stage of this one-liner.
02-snOptionConfigures nmap with the -sn option.
03<subnet>ParameterA value supplied in the Fill parameters section.
This advanced community-curated one-liner combines several stages. Review every option and placeholder before running it.
Example input
nmap -sn 192.168.1.0/24
Example output
Nmap scan report for router.local (192.168.1.1)
Host is up (0.0012s latency).
Nmap scan report for workstation.local (192.168.1.42)
Host is up (0.00031s latency).
Nmap done: 256 IP addresses (12 hosts up) scanned in 2.81 seconds
Illustrative output — exact values vary by system and data.
Official sources