Announcement

Collapse
No announcement yet.

send message to another terminal

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • send message to another terminal

    Can anyone tell me how i can send a message to another terminal on another machine.

    Basically during work i can see peopel doing wotrk on boxes and would like to advise them sometimes on things to do.

    I know its possible but cant figure out how, every time i try the echo command it replies back to me and not another workstation

    Thanks in advanced

    Russell

  • #2
    Look at these:

    command write
    http://www.linuxdevcenter.com/linux/...p?path=w/write
    Initiate or respond to an interactive conversation with user. A write session is terminated with EOF. If the user is logged into more than one terminal, specify a tty number. See also talk; use mesg to keep other users from writing to your terminal.

    command talk
    http://www.linuxdevcenter.com/linux/...sp?path=t/talk
    Talk to another user. person is either the login name of someone on your own machine or user@host on another host. To talk to a user who is logged in more than once, use ttyname to indicate the appropriate terminal name. Once communication has been established, the two parties may type simultaneously, with their output appearing in separate windows. To redraw the screen, type Ctrl-L. To exit, type your interrupt character; talk then moves the cursor to the bottom of the screen and restores the terminal.

    command mesg
    http://www.linuxdevcenter.com/linux/...sp?path=m/mesg
    Change the ability of other users to send write messages to your terminal. With no options, display the permission status.

    and of course wall
    http://www.linuxdevcenter.com/linux/...sp?path=w/wall
    Write to all users. Depending on your Linux distribution, wall uses one of the two syntaxes shown. In both versions, the default is for wall to read a message from standard input and send the message to all users currently logged in, preceded by "Broadcast Message from..."

    Comment


    • #3
      Thanks Crouse,

      thats pointed me in the right direction

      Comment


      • #4
        ytalk is another solution.

        but if you want to blast a message in then so..

        echo "Hello Everyone" | wall

        that will blast it accross every term.

        Comment

        Working...
        X