mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 15:50:43 +00:00
Update cheatsheets
This commit is contained in:
26
linux/mesg
Normal file
26
linux/mesg
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
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.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`
|
||||
Reference in New Issue
Block a user