首页 > 系统服务 > 详细

linux基础命令 chkconfig

时间:2017-07-27 22:15:37      阅读:287      评论:0      收藏:0      [点我收藏+]

78  chkconfig   设置服务开机自启动的命令    

 --list 查看自启动服务   

--level   后面接级别
chkconfig  sshd  off  /on开启关闭sshd    
chkconfig   --level   1 sshd  off  /on关闭或者开启sshd在级别1的服务
chkconfig --list  sshd  查看指定服务是否开机自启动

[root@oldboy data]# chkconfig --list sshd
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off

linux基础命令 chkconfig

原文:http://12144981.blog.51cto.com/12134981/1951494

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!