Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

`nc` is the "network `cat`" program, connecting Unix pipe I/O to TCP and UDP sockets.

nc is like cat for TCP/IP networking. It is often used with Unix processes that do not have built-in networking but which can do regular Unix pipe style I/O, allowing them to talk to the network instead.

There is no standard version of nc, so your system might have a competing variant of the program. Common names are netcat, ncat, and socat.

history | excerpt history