linux--Network communication Command (send broadcast messages to other users)

Source: Internet
Author: User

1. Command name: Write
Execute permissions: All user function Description: Send a message to another user with Ctrl+d as the end
Syntax: Write < user name >
Root sends messages to LUXH users
[Email protected] ~]# Write Luxh
WRITE:LUXH is logged in more than once; Writing to PTS/1
Hello,luxh,i am Root

The information received by the user luxh is
[Email protected] ~]$
Message from [e-mail protected] (as root) on pts/0 at 05:17 ...
Hello,luxh,i am Root

The root user sends a message to the LUXH user, luxh the user must have logged in (that is, remote connection up, I tried su-user not), otherwise it is not sent.

2. Command name: Wall
Execute permissions: All user function Description: Broadcast information to all users
Grammar:wall [message] [file name]

Root sends messages to all logged-in users
[Email protected] ~]# Wall Happy New Year
Broadcast message from [email protected] (pts/0) (Thu Nov 22 05:27:49 2012):
Happy New Year

Users who have logged in will be able to receive
[Email protected] ~]$
Broadcast message from [email protected] (pts/0) (Thu Nov 22 05:27:49 2012):

Happy New Year

linux--Network communication Command (send broadcast messages to other users)

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.