1MESG(1)                     General Commands Manual                    MESG(1)
2
3
4

NAME

6       mesg - permit or deny messages
7

SYNOPSIS

9       mesg [ n ] [ y ]
10

DESCRIPTION

12       Mesg with argument n forbids messages via write and talk(1) by revoking
13       non-user write permission on the user's terminal.  Mesg with argument y
14       reinstates  permission.   All by itself, mesg reports the current state
15       without changing it.
16

FILES

18       /dev/tty*
19

SEE ALSO

21       write(1), talk(1)
22

DIAGNOSTICS

24       Exit status is 0 if messages are receivable, 1 if not, 2 on error.
25
26
27
287th Edition                     April 29, 1985                         MESG(1)
Impressum