1MESG(1) Linux User's Manual MESG(1)
2
3
4
6 mesg - control write access to your terminal
7
9 mesg [y|n]
10
12 Mesg controls the access to your terminal by others. It's typically
13 used to allow or disallow other users to write to your terminal (see
14 write(1)).
15
17 y Allow write access to your terminal.
18
19 n Disallow write access to your terminal.
20
21 If no option is given, mesg prints out the current access state of your
22 terminal.
23
24 Mesg assumes that its standard input is connected to your terminal.
25 That also means that if you are logged in multiple times, you can
26 get/set the mesg status of other sessions by using redirection. For
27 example "mesg n < /dev/pts/46".
28
30 Miquel van Smoorenburg (miquels@cistron.nl)
31
33 talk(1), write(1), wall(1)
34
35
36
37 Feb 26, 2001 MESG(1)