2019-05-14 18:21:16 +01:00
|
|
|
# mesg
|
|
|
|
|
2024-02-04 15:31:28 +00:00
|
|
|
> Check or set a terminal's ability to receive messages from other users, usually from the `write` command.
|
|
|
|
> See also `write`, `talk`.
|
|
|
|
> More information: <https://manned.org/mesg.1p>.
|
2019-05-14 18:21:16 +01:00
|
|
|
|
|
|
|
- Check terminal's openness to write messages:
|
|
|
|
|
|
|
|
`mesg`
|
|
|
|
|
2024-02-04 15:31:28 +00:00
|
|
|
- Disallow receiving messages from the write command:
|
2019-05-14 18:21:16 +01:00
|
|
|
|
|
|
|
`mesg n`
|
|
|
|
|
2024-02-04 15:31:28 +00:00
|
|
|
- Allow receiving messages from the write command:
|
2019-05-14 18:21:16 +01:00
|
|
|
|
|
|
|
`mesg y`
|