1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 02:02:07 +02:00
tldr/pages/linux/mesg.md
2024-02-04 21:01:28 +05:30

21 lines
475 B
Markdown

# 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: <https://manned.org/mesg.1>.
- 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`