fbpx
Wikipedia

mesg

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

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

References

mesg, topic, this, article, meet, wikipedia, notability, guidelines, products, services, please, help, demonstrate, notability, topic, citing, reliable, secondary, sources, that, independent, topic, provide, significant, coverage, beyond, mere, trivial, mentio. The topic of this article may not meet Wikipedia s notability guidelines for products and services Please help to demonstrate the notability of the topic by citing reliable secondary sources that are independent of the topic and provide significant coverage of it beyond a mere trivial mention If notability cannot be shown the article is likely to be merged redirected or deleted Find sources Mesg news newspapers books scholar JSTOR November 2016 Learn how and when to remove this template message b mesg b is a Unix command that sets or reports the permission other users have to write to the current user s terminal using the a href Talk software html title Talk software talk a and a href Write Unix html title Write Unix write a commands mesgOriginal author s Dennis Ritchie Ken ThompsonDeveloper s AT amp T Bell LaboratoriesInitial releaseNovember 3 1971 51 years ago 1971 11 03 Operating systemUnix and Unix likeTypeCommandUsage EditIt 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 lt dev tty2 is y mesg n lt dev tty2 mesg lt dev tty2 is n mesg is ySee also Edit The Wikibook Guide to Unix has a page on the topic of Commands List of Unix commandsReferences Editmesg Shell and Utilities Reference The Single UNIX Specification Version 4 from The Open Group Retrieved from https en wikipedia org w index php title Mesg amp oldid 1000029864, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.