MESGSection: Linux User's Manual (1)Updated: Feb 26, 2001 |
MESGSection: Linux User's Manual (1)Updated: Feb 26, 2001 |
If no option is given, mesg prints out the current access state of your terminal.
Mesg assumes that it's standard input is connected to your terminal. That also means that if you are logged in multiple times, you can get/set the mesg status of other sessions by using redirection. For example "mesg n < /dev/pts/46".