nc
$ nc [--listen] [--verbose] [--udp] [-N] <target> <port>
Network cat: Connect to network sockets as if it were a file.
--help
: Display help message and exit--version
: Print version-l
, --listen
: Listen instead of connecting-v
, --verbose
: Log everything that's happening-u
, --udp
: UDP mode-N
: Close connection after reading stdin to the endtarget
: Address to listen on, or the address or hostname to connect toport
: Port to connect to or listen on