2024-02-04 12:31:28 -03:00
|
|
|
# mesg
|
|
|
|
|
|
|
|
> Check or set a terminal's ability to receive messages from other users, usually from the `write` command.
|
|
|
|
> See also `write`, `talk`.
|
2025-03-22 08:37:12 +02:00
|
|
|
> More information: <https://manned.org/mesg>.
|
2024-02-04 12:31:28 -03:00
|
|
|
|
|
|
|
- Check terminal's openness to write messages:
|
|
|
|
|
|
|
|
`mesg`
|
|
|
|
|
|
|
|
- Disallow receiving messages from other users:
|
|
|
|
|
|
|
|
`mesg n`
|
|
|
|
|
|
|
|
- Allow receiving messages from other users:
|
|
|
|
|
|
|
|
`mesg y`
|
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
- Enable verbose mode, printing a warning if the command is not executed from a terminal:
|
2024-02-04 12:31:28 -03:00
|
|
|
|
2025-03-22 08:37:12 +02:00
|
|
|
`mesg {{[-v|--verbose]}}`
|