Quick links About mesg Syntax Examples Related commands Linux / Unix main page About mesg Lets you control if people can use the write command, to send text to you over the screen. Syntax mesg [n|y]
| n | Prevents the messages from others popping up on your screen. |
| y | Allows messages to appear on your screen. |
Examples mesg Typing this command by itself will display whether or not the mesg service is enabled. For example, it may display: "is y", indicating that it is enabled. Typing n or why after the command would enable or disable this command. When this command is disabled non-root users will be unable to to send messages to you using message commands such as talk or write. Related commands talk write |