Mesg

Article on other languages:

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire

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.

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

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

See also

References

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net