Skip to content

Commit 415f513

Browse files
authored
Update chkconfig.md
1 parent ada160c commit 415f513

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

command/chkconfig.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ chkconfig
99

1010
### 语法
1111

12-
```
12+
```bash
1313
chkconfig(选项)
1414
```
1515

1616
### 选项
1717

18-
```
18+
```bash
1919
--add:增加所指定的系统服务,让chkconfig指令得以管理它,并同时在系统启动的叙述文件内增加相关数据;
2020
--del:删除所指定的系统服务,不再由chkconfig指令管理,并同时在系统启动的叙述文件内删除相关数据;
2121
--level<等级代号>:指定读系统服务要在哪一个执行等级中开启或关毕。
@@ -48,15 +48,15 @@ chkconfig(选项)
4848

4949
例如random.init包含三行:
5050

51-
```
51+
```bash
5252
# chkconfig: 2345 20 80
5353
# description: Saves and restores system entropy pool for \
5454
# higher quality random number generation.
5555
```
5656

5757
### 实例
5858

59-
```
59+
```bash
6060
chkconfig --list #列出所有的系统服务。
6161
chkconfig --add httpd #增加httpd服务。
6262
chkconfig --del httpd #删除httpd服务。

0 commit comments

Comments
 (0)