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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.