Name

mesg — stdin  stdout  - file  -- opt  --help  --version

Synopsis

mesg [y|n]

The mesg program controls whether talk and write connections can reach your terminal. mesg y permits them, mesg n denies them, and mesg prints the current status (y or n). The default is y:

mesg
is y
➜ mesg n            Change the statusmesg
is n

Get Macintosh Terminal Pocket Guide 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.