Jump to content

Talking to other users

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Crop

Crop

    Learning Programmer

  • Members
  • PipPipPip
  • 62 posts
When more than one users is ssh'd in, how do I talk to them? I know there is a way to do it through tty or some command similar but I can't figure it out.

#2
Hektor

Hektor

    Programmer

  • Members
  • PipPipPipPip
  • 126 posts
Found this which might help you:


command write
http://www.linuxdevc...sp?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.linuxdevc...csp?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.linuxdevc...csp?path=m/mesg
Change the ability of other users to send write messages to your terminal. With no options, display the permission status.

wall
http://www.linuxdevc...csp?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..."