tldr/pages/common/mesg.md

364 B

mesg

Check or set a terminal's ability to receive messages from other users, usually from the write command. See also write. More information: https://manned.org/mesg.

  • Check terminal's openness to write messages:

mesg

  • Disable receiving messages from the write command:

mesg n

  • Enable receiving messages from the write command:

mesg y