码迷,mamicode.com
首页 > 系统相关 > 详细

Linux chkconfig 命令详解

时间:2014-10-29 21:29:23      阅读:251      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   for   sp   div   on   log   bs   

一、简介

chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。

二、安装

user@ae01:~$ sudo apt-get install chkconfig

三、用法

user@ae01:~$ chkconfig --help
usage:
        chkconfig -A|--allservices              (together with -l: show all services)
        chkconfig -t|--terse [names]            (shows the links)
        chkconfig -e|--edit  [names]            (configure services)
        chkconfig -s|--set   [name state]...    (configure services)
        chkconfig -l|--list [--deps] [names]    (shows the links)
        chkconfig -c|--check name [state]       (check state)
        chkconfig -a|--add   [names]            (runs insserv)
        chkconfig -d|--del   [names]            (runs insserv -r)
        chkconfig -h|--help                     (print usage)
        chkconfig -f|--force ...                (call insserv with -f)

        chkconfig [name]           same as chkconfig -t
        chkconfig name state...    same as chkconfig -s name state
user@ae01:~$

 

Linux chkconfig 命令详解

标签:style   blog   color   for   sp   div   on   log   bs   

原文地址:http://www.cnblogs.com/tannerBG/p/4060180.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!