Content-Length: 100593 | pFad | http://en.wikipedia.org/wiki/Mesg

mesg - Wikipedia Jump to content

mesg

From Wikipedia, the free encyclopedia
mesg
Original author(s)Dennis Ritchie,
Ken Thompson
Developer(s)AT&T Bell Laboratories
Initial releaseNovember 3, 1971; 52 years ago (1971-11-03)
Operating systemUnix and Unix-like
TypeCommand

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

Usage

[edit]

It is invoked as:

mesg [y|n]

The 'y' and 'n' options respectively allow and disallow write access to the current user's 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

[edit]

References

[edit]








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://en.wikipedia.org/wiki/Mesg

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy