mesg 中文man页面

系统
Mesg 控制 其他用户 对 你的终端 的 访问能力. 典型用途 是 允许 或 禁止 其他用户向 你的终端 输出 数据. (另见 write(1)).

名称 (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)

责任编辑:韩亚珊 来源: www.linuxforum.net/man-pages/
相关推荐

2011-08-15 10:21:09

man中文man

2011-08-24 16:48:36

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-25 15:47:06

fopen中文man

2011-08-25 15:51:06

feof中文man

2011-08-25 15:37:03

fclose中文man

2011-08-25 15:24:31

execlp中文man

2011-08-25 15:28:49

execv中文man

2011-08-25 15:31:04

execvp中文man

2011-08-25 15:33:18

exit中文man

2011-08-25 16:08:55

fsetpos中文man

2011-08-25 16:16:21

fopen中文man

2011-08-25 16:44:46

ftrylockfil中文man

2011-08-25 16:19:23

fprintf中文man

2011-08-25 16:25:30

fputs中文man

2011-08-25 16:00:56

fflush中文man

2011-08-25 16:06:20

fgetc中文man

2011-08-25 16:31:38

fseek中文man

2011-08-25 16:39:41

fsetpos中文man
点赞
收藏

51CTO技术栈公众号