Last Updated: February 25, 2016
·
1.006K
· stevennunez

NetCat for sending messages

Have a really long command you want to share with a coworker? Works even better if you're remoted into the same machine.

Most *nix systems have netcat installed. try which nc

On the recipient terminal type nc -l 50000 assuming port 50000 is available.

On the sender terminal type nc 127.0.0.1 50000 and start typing!