>_ linuxcommand.dev
Netcat

nc

Netcat tool for TCP/UDP connections, port scanning, and more.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verified: 2025-10-07
Syntax
$nc [options] [host] [port]
Examples
$nc 192.168.59.1 80
$nc -l -p 1234
Typical use cases
?
Standard usage
nc --help
Note Basic command for network connections, sends/receives UDP/TCP packets, port scanning, and IPv4/IPv6 handling.
Export