diff --git a/pages/common/mesg.md b/pages/common/mesg.md index 3c5dcea9b..fe225939a 100644 --- a/pages/common/mesg.md +++ b/pages/common/mesg.md @@ -1,17 +1,17 @@ # mesg -> Check or set a terminal's ability to receive messages from other users, usually from the write command. -> See also `write`. -> More information: . +> Check or set a terminal's ability to receive messages from other users, usually from the `write` command. +> See also `write`, `talk`. +> More information: . - Check terminal's openness to write messages: `mesg` -- Disable receiving messages from the write command: +- Disallow receiving messages from the write command: `mesg n` -- Enable receiving messages from the write command: +- Allow receiving messages from the write command: `mesg y` diff --git a/pages/linux/mesg.md b/pages/linux/mesg.md new file mode 100644 index 000000000..355cafa16 --- /dev/null +++ b/pages/linux/mesg.md @@ -0,0 +1,21 @@ +# mesg + +> Check or set a terminal's ability to receive messages from other users, usually from the `write` command. +> See also `write`, `talk`. +> More information: . + +- Check terminal's openness to write messages: + +`mesg` + +- Disallow receiving messages from other users: + +`mesg n` + +- Allow receiving messages from other users: + +`mesg y` + +- Enable [v]erbose mode, printing a warning if the command is not executed from a terminal: + +`mesg --verbose`