macOS / binaries /

mesg

/usr/bin/mesg
Display (do not display) messages from other users

The mesg utility is invoked by a user to control write access others have to a terminal device. Write access is allowed by default, and programs such as talk and write may display messages on the terminal.

source: man