mesg 中文man頁(yè)面
名稱(chēng) (NAME)
mesg - 調(diào)節(jié)用戶(hù)終端的寫(xiě)訪問(wèn)權(quán)
總覽 (SYNOPSIS)
mesg [y|n]
描述 (DESCRIPTION)
Mesg 控制 其他用戶(hù) 對(duì) 你的終端 的 訪問(wèn)能力. 典型用途 是 允許 或 禁止 其他用戶(hù)向 你的終端 輸出 數(shù)據(jù). (另見(jiàn) write(1)).
選項(xiàng) (OPTIONS)
- y
- 允許 對(duì) 用戶(hù)終端 作 寫(xiě)訪問(wèn).
- n
- 禁止 對(duì) 用戶(hù)終端 作 寫(xiě)訪問(wèn).
如果 沒(méi)有 指定 選項(xiàng), mesg 就 顯示 目前 用戶(hù)終端 的 訪問(wèn)狀態(tài).
作者 (AUTHOR)
Miquel van Smoorenburg (miquels@cistron.nl)
另見(jiàn) (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)