mesg

Set write permissions for the current terminal

Supplementary instructions

mesg command is used to set the write permission of the current terminal, that is, whether to allow other users to send messages to this terminal. When mesg is set to y, other users can use the write command to display information directly on your screen.

grammar

mesg(parameter)

Parameters

y/n: y means to run writing information to the current terminal, n means to prohibit writing information to the current terminal.

Example

[root@localhost ~]# mesg y #Allow system users to display information directly on your screen.
[root@localhost ~]# mesg n #Do not allow system users to display information directly on your screen.
继续阅读

接下来你可能需要这些内容

优先推荐相关内容,同时保留你的阅读轨迹和收藏入口。