nc
$ nc [--listen] [--verbose] [--udp] [-N] [--length ] <target> <port>
Network cat: Connect to network sockets as if it were a file.
-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 end-I
, --length
: Set maximum tcp receive buffer sizetarget
: Address to listen on, or the address or hostname to connect toport
: Port to connect to or listen on