Detailed Explanation of Sending Message Command under CentOS 6


1、wall ‘…’

Wall is to send messages to all users, the content of which is contained in”.

2、write userName tty

First, we use the WHO command to view the online users and their tty, and then send him a message with the write command. After entering the command, we enter the message mode. At this time, we can enter the message content and send it back to the train. Exit by pressing Ctrl + D.


If you don’t want to receive messages from other users write, close it with mesg-n and turn it on again as mesg-y

Recommended Today

Build HTTP service with C + + Mongoose

Mongoose source code address:… Mongoose user manual:… Mngoose set up HTTP service #include <string> #include “mongoose.h” using namespace std; static const char *s_http_port = “8000”; static void ev_handler(mg_connection *nc, int ev, void *ev_data) { struct http_message *hm = (struct http_message *) ev_data; if (ev == MG_EV_HTTP_REQUEST) { std::string uri; if (hm->uri.p && hm->uri.p[0] == ‘/’) […]