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 has no effect on modern instant messaging programs like pidgin.

$ mesg
is y
$ mesg n
$ mesg
is n

Get Linux Pocket Guide, 2nd Edition 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.