mesg — Permit or Deny Messages
Synopsis
/usr/bin/mesg [-n | -y | n | y]
Description
The mesg command controls whether other users can send messages to a terminal device by using write(1), talk(1), or other commands. The terminal device affected is determined by searching for the first terminal in the sequence of devices associated with standard input, standard output, and standard error. With no arguments, mesg reports the current state without changing it. Processes with appropriate privileges may be able to send messages to the terminal independently of the current state.
Options
-n | n | Deny permission to other users to send message to the terminal. See write(1). |
-y | y | Grant permission to other users to send messages to the terminal. ... |
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.