Linux常用命令-chkconfig
命令
chkconfig
描述
updates and queries runlevel information for system services
更改系统服务的运行级别
用法
1 | chkconfig [--list] [--type type] [name] |
选项
1 | Options: |
注意
chkconfig
命令是CentOS6的服务管理命令,CentOS7推荐使用systemctl
命令管理服务
示例
1 | # 显示所有系统服务 |
chkconfig
updates and queries runlevel information for system services
更改系统服务的运行级别
1 | chkconfig [--list] [--type type] [name] |
1 | Options: |
chkconfig
命令是CentOS6的服务管理命令,CentOS7推荐使用systemctl
命令管理服务
1 | # 显示所有系统服务 |