nc
Netcat tool for TCP/UDP connections, port scanning, and more.
Syntax
$nc [options] [host] [port]
Examples
Examples
$nc 192.168.59.1 80
Examples
$nc -l -p 1234
Typical use cases
nc host port
nc -h
Note
Basic command for network connections, sends/receives UDP/TCP packets, port scanning, and IPv4/IPv6 handling.
Export