Chat/Text messaging from commandline on Linux

Want to urgently copy a text message from one pc to another, or have a short conversation with a peer on another pc ? here’s how –

@ PC1: nc -l [port-number to listen, without brackets of course]

@PC2: nc [IP of PC1] [port-number above]

Now type any text on pc2 – it should be visible on pc1, and vice versa.

Kj [/.] Sreekumar programs computers as a hobby and profession. Into programming from his school days, Sree uses Codemarvels to key in facts and fixes he finds interesting while working on different projects. Some of the articles here give away a few shades of his philosophical leanings too.

Leave a Comment

Your email address will not be published. Required fields are marked *