Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
96
rated 0 times [  96] [ 0]  / answers: 1 / hits: 158223  / 1 Year ago, mon, january 9, 2023, 6:27:04

As I recall there was something like netsend on windows that allowed simple messages to be sent over the local network. I especially like this because one doesn't need to install extra client soft (hello skype).



Is there something dead simple like this on Linux?



Just to clarify I'm looking for a bash command or simple CLI script/tool, not a GUI app.


More From » networking

 Answers
1

You actually can do this with netcat, I believe it is already installed in most cases on linux, and it's dead simple.



On PC 1, type: nc -l 55555



On PC 2, type: nc $IP 55555, where $IP equals the local IP address of PC 1 [e.x. 192.168.2.50]



Once you do this, in the same box, from PC 2, type something and press enter. Then go over and look at PC 1, and your message will be there! It works both ways.



You can also choose a different port than 55555, or if you opened your firewall, you can do this through the internet via your external IP.


[#43449] Tuesday, January 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sweetrifiabl

Total Points: 422
Total Questions: 94
Total Answers: 120

Location: Bonaire
Member since Sat, Sep 24, 2022
2 Years ago
sweetrifiabl questions
Mon, Apr 4, 22, 16:02, 2 Years ago
Sat, Jul 17, 21, 01:40, 3 Years ago
Thu, Nov 18, 21, 17:36, 2 Years ago
Mon, Jan 17, 22, 19:02, 2 Years ago
;