On Wed, May 25, 2011 at 6:57 AM, ANAMIKA CHAUHAN <[email protected]> wrote: > Hello, > sorry for the inconvenience caused my me... > > I want to know how can i do communication between 2 systems. > I have a bit knowledge about it.i.e first of all login into that system > using ssh and use write or talk command to enable communication.Am i
See the man page of write for more details ($ man write). Write is used to send text messages between two users on the same system. I am assuming that you (user a) are on host A and the other person (user b) is on host B. Also, you are able to log into host B. b must be running a terminal. You can then run a@host-B$ write b To identify which terminal (for user b) in case he has multiple terminals open, should receive the write message, pass the tty number as the second argument to b. Now, users by default, may have being written to disabled. User b will have to enable receiving write messages (since it can be bothersome) by running mesg: b@host-B$ mesg y See manpage of mesg ($ man mesg). Hope this helps, Sharad -- LUG@IITD - http://lug-iitd.org/Footer
