mesg [options]
mesg
options
Change the ability of other users to send write messages to your terminal. With no options, display the permission status. On System V, a hyphen can precede the options.
Forbid write messages.
Allow write messages (the default).