mesg 中文man頁面
名稱 (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)