linux 命令和教程补充

This commit is contained in:
estomm
2021-12-24 11:16:28 +08:00
parent 40e916976b
commit b7c3653392
586 changed files with 46455 additions and 39 deletions

27
Linux/command/mesg.md Normal file
View File

@@ -0,0 +1,27 @@
mesg
===
设置当前终端的写权限
## 补充说明
**mesg命令** 用于设置当前终端的写权限即是否让其他用户向本终端发信息。将mesg设置y时其他用户可利用write命令将信息直接显示在您的屏幕上。
### 语法
```shell
mesg(参数)
```
### 参数
y/ny表示运行向当前终端写信息n表示禁止向当前终端写信息。
### 实例
```shell
[root@localhost ~]# mesg y #允许系统用户将信息直接显示在你的屏幕上。
[root@localhost ~]# mesg n #不允许系统用户将信息直接显示在你的屏幕上。
```