| Main index | Section 1 | 日本語 | Options |
The first terminal device in the sequence of devices associated with standard input, standard output and standard error is affected.
The following options are available:
| n | Disallow messages. |
| y | Permit messages to be displayed. |
If no arguments are given, mesg displays the present message status to the standard output.
| 0 | |
| Messages are allowed. | |
| 1 | |
| Messages are not allowed. | |
| >1 | An error has occurred. |
mesg n
Allow messages from other users to ttyp1 (assuming you are also logged in on that terminal):
mesg y </dev/ttyp1
| MESG (1) | May 5, 2002 |
| Main index | Section 1 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Computer science would have progressed much further and faster if all of the time and effort that has been spent maintaining and nurturing Unix had been spent on a sounder operating system. | ” |
| — The Unix Haters' handbook | ||