mesg
PURPOSE
Permits or refuses write messages.
SYNOPSIS
mesg [ ny ]
DESCRIPTION
The mesg command controls whether other users on the
system can send messages to you with the write command.
Called without arguments, mesg displays the current work
station message-permission setting. The shell start-up
process permits messages by default. You can override
this default action by including the line: "mesg n" in
your $HOME/.profile file. A user with superuser
authority can send write messages to any work station,
regardless of its message permission setting. Message
permission has no effect on messages delivered through
the electronic mail system (sendmail).
FLAGS
n Disables incoming write messages. Use this form of
the command to avoid having others clutter your
display with incoming messages.
y Permits write messages.
FILES
/dev/tty*
RELATED INFORMATION
The following commands: "write" and "sendmail."