HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mesg — Check or set a terminal's ability to receive messages from other users, usually from the `write` com

Submitted by: @import:tldr-pages··
0
Viewed 0 times
abilityterminalcommandmesgreceiveclicheckset

Problem

How to use the mesg command: 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.1p>.

Solution

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.1p>.

Check terminal's openness to write messages:
mesg


Disallow receiving messages from the write command:
mesg n


Allow receiving messages from the write command:
mesg y

Code Snippets

Check terminal's openness to write messages

mesg

Disallow receiving messages from the write command

mesg n

Allow receiving messages from the write command

mesg y

Context

tldr-pages: common/mesg

Revisions (0)

No revisions yet.