>_ linuxcommand.dev
Netcat

-z

Directs nmap to search for active services.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verified: 2025-10-07
Syntax
$nc -z [host] [ports]
Examples
$nc -z 192.168.59.1 80-100
Typical use cases
?
Standard usage
-z --help
Note Zero-I/O mode for scanning.
Export