>_
linuxcommand.dev
Home
Roadmap
Contact
EN
Dark
>_
>_
linuxcommand.dev
Home
Roadmap
Contact
Legal Notice
Privacy Policy
Language
DE
EN
Design
Dark
Startseite
›
-z
Netcat
-z
Directs nmap to search for active services.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Last updated:
2025-10-07
Report error
Syntax
Copy
$
nc -z [host] [ports]
Examples
Examples
$
nc -z 192.168.59.1 80-100
Typical use cases
Scan ports
nc -z host port-range
Note
Zero-I/O mode for scanning.
Export
Text
JSON
Script