Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-24-2012, 11:33 AM   #1
Registered: Oct 2012
Distribution: Debian
Posts: 49

Rep: Reputation: Disabled
Commands for simple messaging script

Hello people,
I'm looking for a command (no "talk"or "write" command) that could be used for a simple messaging script. This script should be able to send simple text messages over a network. Which commands could be good candidates? Maybe rcp or nc?
Old 10-24-2012, 01:53 PM   #2
Registered: Apr 2011
Location: Germany
Distribution: Mint 10, openSuSE
Posts: 58

Rep: Reputation: 3
Smile Netcat (nc) most definitely


I did stuff like this with nc so this would be a very good starting point. As long as it is one-to-one, nc is fine. When it comes to chat room like scenarios, netcat is going to be far more difficult.

For one-to-one just start nc in listening mode on the first pc and connect from the other pc with another nc instance and voila, you can chat.

Regards, Heraton
1 members found this post helpful.
Old 10-24-2012, 02:16 PM   #3
Registered: Oct 2012
Distribution: Debian
Posts: 49

Original Poster
Rep: Reputation: Disabled
I played around with netcat, but I didn't find a way to implement a broadcast messaging function that allows to send messages to a group of people. Finally, rcp is my last man standing.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] My simple bash script is not running all of the commands Subject16 Programming 5 06-14-2010 10:17 AM
Need help getting started simple simple shell script dhonnoll78 Programming 6 12-17-2007 05:34 PM
Simple shell commands Alexman Linux - Newbie 3 08-23-2007 01:11 PM
simple console commands Four Linux - Newbie 1 03-09-2007 06:40 PM
Simple Commands jackel Linux - Newbie 3 04-13-2004 11:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration