mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
573 B
Plaintext
27 lines
573 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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>.
|
|
|
|
- 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 verbose mode, printing a warning if the command is not executed from a terminal:
|
|
|
|
`mesg {{[-v|--verbose]}}`
|