mirror of
https://github.com/Estom/notes.git
synced 2026-04-23 18:11:47 +08:00
linux 命令和教程补充
This commit is contained in:
25
Linux/command/getenforce.md
Normal file
25
Linux/command/getenforce.md
Normal file
@@ -0,0 +1,25 @@
|
||||
getenforce
|
||||
===
|
||||
|
||||
显示当前SELinux的应用模式,是强制、执行还是停用
|
||||
|
||||
## 补充说明
|
||||
|
||||
**grename命令** 可以重命名卷组的名称。
|
||||
|
||||
### 语法
|
||||
|
||||
```shell
|
||||
getenforce
|
||||
```
|
||||
|
||||
### 例子
|
||||
|
||||
查看当前SELinux的应用模式。
|
||||
|
||||
```shell
|
||||
[root@localhost ~]# getenforce
|
||||
Enforcing
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user