Query: mesg
OS: linux
Section: 1
Links: linux man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MESG(1) Linux User's Manual MESG(1)NAMEmesg - control write access to your terminalSYNOPSISmesg [y|n]DESCRIPTIONMesg controls the access to your terminal by others. It's typically used to allow or disallow other users to write to your terminal (see write(1)).OPTIONSy Allow write access to your terminal. n Disallow write access to your terminal. If no option is given, mesg prints out the current access state of your terminal.NOTESMesg assumes that its 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".AUTHORMiquel van Smoorenburg (miquels@cistron.nl)SEE ALSOtalk(1), write(1), wall(1) Feb 26, 2001 MESG(1)