Skip to content

Commit b610bdb

Browse files
authored
Create getenforce.md
1 parent a025906 commit b610bdb

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

command/getenforce.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
getenforce
2+
===
3+
4+
显示当前SELinux的应用模式,是强制、执行还是停用。
5+
6+
## 补充说明
7+
8+
**grename命令** 可以重命名卷组的名称。
9+
10+
### 语法
11+
12+
```
13+
getenforce
14+
```
15+
16+
### 例子
17+
18+
查看当前SELinux的应用模式。
19+
20+
```bash
21+
[root@localhost ~]# getenforce
22+
Enforcing
23+
```
24+
25+
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->

0 commit comments

Comments
 (0)