名称 (NAME)
mesg - 调节用户终端的写访问权
总览 (SYNOPSIS)
mesg [y|n]
描述 (DESCRIPTION)
Mesg 控制 其他用户 对 你的终端 的 访问能力. 典型用途 是 允许 或 禁止 其他用户向 你的终端 输出 数据. (另见 write(1)).
选项 (OPTIONS)
- y
- 允许 对 用户终端 作 写访问.
- n
- 禁止 对 用户终端 作 写访问.
如果 没有 指定 选项, mesg 就 显示 目前 用户终端 的 访问状态.
作者 (AUTHOR)
Miquel van Smoorenburg (miquels@cistron.nl)
另见 (SEE ALSO)
talk(1), write(1), wall(1)
#p#
NAME
mesg - control write access to your terminal
SYNOPSIS
mesg [y|n]
DESCRIPTION
Mesg controls the access to your terminal by others. It's typically used to allow or disallow other users to write to your terminal (see write(1)).
OPTIONS
- y
- Allow write access to your terminal.
- n
- Disallow write access to your terminal.
If no option is given, mesg prints out the current access state of your terminal.
Mesg assumes that it's standard input is connected to your terminal. That also means that if you are logged in multiple times, you can get/set the mesg status of other sessions by using redirection. For example "mesg n < /dev/pts/46".
AUTHOR
Miquel van Smoorenburg (miquels@cistron.nl)
SEE ALSO
talk(1), write(1), wall(1)