Two chat commands under Linux

  
                  

First, write

Usage: write user name; after hitting the car, the user and the other party will be in the chat state at the same time, but the person who is connected can only receive the person who initiated the chat request. Chat content, but can not reply, if you want to reply, you must first initiate a connection to the other party, so that two people can chat, pay attention to root can initiate connection to any, but other people can not initiate a connection to the root, by default The root message is disabled. If you have to make a request to root, you must first set the root mesg to y. This setting: enter as root, mesg y so that other users can initiate a connection to root.

uptime Access: All users Usage: uptime [-V] Description: uptime provides the following information for the user, no other parameters: Current time The time the system is turned on until now Number of users System load for the last minute, five minutes and fifteen minutes Parameters: -V Displays version information. Example: uptime The result is: 10:41am up 5 days, 10 min, 1 users, load average: 0.00, 0.00, 1.99

Second, wall

Usage: wall After hitting the carriage return , you can enter what you want to say, press ctrl+D after inputting the words you want to say, so that all online users can receive the information at the same time, but this can only be sent once, and the next time you send it again, I have to start all over again, if two online users want to talk all the time, they have to use the write command.

Copyright © Windows knowledge All Rights Reserved