mirror of https://github.com/CrimsonTome/tldr.git
mesg: split util-linux and POSIX pages (#12167)
parent
9c9cbcbb0f
commit
40c5a68946
|
@ -1,17 +1,17 @@
|
||||||
# mesg
|
# mesg
|
||||||
|
|
||||||
> Check or set a terminal's ability to receive messages from other users, usually from the write command.
|
> Check or set a terminal's ability to receive messages from other users, usually from the `write` command.
|
||||||
> See also `write`.
|
> See also `write`, `talk`.
|
||||||
> More information: <https://manned.org/mesg>.
|
> More information: <https://manned.org/mesg.1p>.
|
||||||
|
|
||||||
- Check terminal's openness to write messages:
|
- Check terminal's openness to write messages:
|
||||||
|
|
||||||
`mesg`
|
`mesg`
|
||||||
|
|
||||||
- Disable receiving messages from the write command:
|
- Disallow receiving messages from the write command:
|
||||||
|
|
||||||
`mesg n`
|
`mesg n`
|
||||||
|
|
||||||
- Enable receiving messages from the write command:
|
- Allow receiving messages from the write command:
|
||||||
|
|
||||||
`mesg y`
|
`mesg y`
|
||||||
|
|
|
@ -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: <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`
|
Loading…
Reference in New Issue