请输入您要查询的百科知识:

 

词条 Mesg
释义

  1. Usage

  2. See also

  3. References

{{lowercase|title=mesg}}{{notability|date=November 2016}}{{Infobox Software
| name = mesg
| logo =
| screenshot =
| screenshot size =
| caption =
| author =
| developer = AT&T Bell Laboratories
| released = {{Start date and age|1971|11|3}}
| latest release version =
| latest release date =
| operating system = Unix and Unix-like
| genre = Command
| license =
| website =
}}

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.

Usage

It 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

  • List of Unix commands

References

  • {{man|cu|mesg|SUS}}
{{Unix commands}}

2 : Unix user management and support-related utilities|Unix SUS2008 utilities

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 14:32:08