mesg
Change the ability of other users to use talk , or to send write messages to your terminal. With no options, display the permission status.
-n
Forbid write messages.
-y
Allow write messages (the default).
Both options may be provided without the leading - , for compatibility with BSD.
-