Communication between multiple login users in Linux

Source: Internet
Author: User

Since the entire class has recently logged on to solaris, so many students don't chat much. Summary of multi-user communication:

1. write

The write format is write user [ttyname]. You can use the who command to view logon users and directly communicate with them in the preceding format.

2. talk

The alk command allows both parties to implement real-time conversations like MSN and QQ. The command format is as follows:

Talk user-name

When a user sends a conversation request to another user, the conversation is established only when the other party accepts the conversation request, that is, the other party uses the talk command. At this time, both terminals will display "[connectestablished]", so that both parties can input text from the keyboard, and talk will display the input on the screen of the other party, if either party presses the button, the conversation will be closed.

3. If wall wants all login users to receive your message, wall is the best choice: wall message; all users can receive

4. mesg

If you do not want to receive messages, mesg can help you. View the current acceptance status of the mesg: is y accept, is n does not receive. Select to receive or not to receive mesg [n | y.

Recommended reading:

Linux system v ipc traffic signals and shared memory instances

Unix/Linux Shared Memory Applications and traps

Step by step Linux C: Shared Memory communication instance

Linux ipcs determines shared memory usage

Linux inter-process communication (system v signal lamp + system v shared memory) instance

Linux inter-process communication (system v signal lamp + posix shared memory) instance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.