LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-04-2003, 11:29 PM   #1
juby
Member
 
Registered: Dec 2002
Location: Bangalore, India
Distribution: Ubuntu 5.*
Posts: 241

Rep: Reputation: 30
Send text message to another machine


Hi how do i send a plain text message to another machine running linux locally which has another ip address
ie suppose my ip is 200.1.1.1. i wnat to send a plain text msg to 200.1.1.2 which has linux
installed locally.. i too am running linux locally ..
 
Old 07-04-2003, 11:39 PM   #2
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
"rwall hostname"

man rwall for details. I believe that a certain daemon has to be listening to allow messages to be recieved by the remote host.

Ian
 
Old 07-04-2003, 11:44 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
first you probably need to login to the machine with ssh.

then use write to start a message


see these

man write
man wall
man mesg
man who

it goes like this..

login with ssh. then...
use who to see where they are logged in..
who
david pts/2 Jul 4 23:30 (dallas-209-210-115-237.safepages.com)

use write to start message..
write david pts/2
Hey!

Wassup?


use ctrl_d to end message


what the other end sees..


Message from david@www.dcphillips.net on pts/3 at 00:05 ...
Hey!

Wassup?

EOF



they can do the same to write back
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to send message from linux machine to windows barshani Linux - Software 2 10-27-2004 07:03 AM
Send text message from windows to linux ok goutham_v Linux - General 3 04-18-2004 01:07 PM
send message to remote machine AcerKev Linux - Networking 6 02-13-2004 11:11 AM
How to send message to other user(online) on the text mode of Linux ??? owen Linux - General 2 01-10-2004 01:20 PM
Send message to window u4113072 Linux - Software 0 10-18-2002 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:32 AM.

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