To view the status of the the services in all runlevels
[root@localhost ~]# chkconfig --list
To view the status of the Particular services.
For example Bluetooth
[root@localhost ~]# chkconfig --list bluetooth
bluetooth 0:off 1:off 2:off 3:off 4:off 5:off 6:off
To put the service at all runlevel as on
[root@localhost ~]# chkconfig bluetooth on
To view the status
[root@localhost ~]# chkconfig --list bluetooth
bluetooth 0:off 1:off 2:on 3:on 4:on 5:on 6:off
To put the service at all runlevel as off
[root@localhost ~]# chkconfig bluetooth off
To view the status
[root@localhost ~]# chkconfig --list bluetooth
bluetooth 0:off 1:off 2:off 3:off 4:off 5:off 6:off
To manually stop the service
[root@localhost ~]# service bluetooth stop
Stopping Bluetooth services: [ OK ]
To Manually start the service
[root@localhost ~]# service bluetooth start
Starting Bluetooth services: [ OK ]
To Manually restart the service
[root@localhost ~]# service bluetooth restart
Stopping Bluetooth services: [ OK ]
Starting Bluetooth services: [ OK ]
[root@localhost ~]# chkconfig --list
To view the status of the Particular services.
For example Bluetooth
[root@localhost ~]# chkconfig --list bluetooth
bluetooth 0:off 1:off 2:off 3:off 4:off 5:off 6:off
To put the service at all runlevel as on
[root@localhost ~]# chkconfig bluetooth on
To view the status
[root@localhost ~]# chkconfig --list bluetooth
bluetooth 0:off 1:off 2:on 3:on 4:on 5:on 6:off
To put the service at all runlevel as off
[root@localhost ~]# chkconfig bluetooth off
To view the status
[root@localhost ~]# chkconfig --list bluetooth
bluetooth 0:off 1:off 2:off 3:off 4:off 5:off 6:off
To manually stop the service
[root@localhost ~]# service bluetooth stop
Stopping Bluetooth services: [ OK ]
To Manually start the service
[root@localhost ~]# service bluetooth start
Starting Bluetooth services: [ OK ]
To Manually restart the service
[root@localhost ~]# service bluetooth restart
Stopping Bluetooth services: [ OK ]
Starting Bluetooth services: [ OK ]
0 comments:
Post a Comment