Share on Facebook Share on Twitter Email
Answers.com

Mesg

 
Wikipedia: Mesg

mesg is a Unix command that sets or reports the permission other users have to write to your terminal using the talk and write commands.

mesg is invoked as: mesg [y|n]

The 'y' and 'n' options respectively allow and disallow write access to your terminal. When invoked with no option, the current permission is printed.

Input redirection may be used to control the permission of another TTY. For example:

% mesg
is y
% tty
/dev/tty1
% mesg < /dev/tty2
is y
% mesg n < /dev/tty2
% mesg < /dev/tty2
is n
% mesg
is y

See also

References


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 
Learn More
Cola (programming language)
Timex (Unix)
Paste (Unix)

Help us answer these
How do you get mesgs back on bottom right hand corner of screen wt mngr is there now.?
What is MESG in dhps assay?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Mesg" Read more

 

Mentioned in