LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Using write to talk to different user/host (http://www.linuxquestions.org/questions/linux-newbie-8/using-write-to-talk-to-different-user-host-4175440171/)

iwambeke 12-05-2012 01:50 PM

Using write to talk to different user/host
 
So I am trying to use write to talk to someone on another host machine, same domain. Example
Code:

> mesg y
> write jdoe@jdoe-lnx /dev/pts/2
write: jdoe@jdoe-lnx is not logged in on pts/2.
> write jdoe@jdoe-lnx
write: jdoe@jdoe-lnx is not logged in

The way the man page for write looks is that if a user if on another host you can use the @ to talk to another user. On both machines mesg y has been run and target machine has shell /dev/pts/2 open. Other forums has said they didn't think that write could talk between host and some said you can if you just use user@host

When using talk it never sends the invitation to the other callers machine.

bigrigdriver 12-05-2012 06:02 PM

This example from Linux by Examples might help.


All times are GMT -5. The time now is 12:22 PM.