How do you show what services get started with runlevel and also how show which services will be stopped when runlevel 3 is exited in the linux command?
Explanation :
●The following ''chkconfig' command shows how we can start HTTP services only on run level 3 and 5 with ' –level' parameter. First command starts httpd services on run level 3 and 5 and second command verifies the status of httpd services running on run level.
●The following command will turned off a service called post fix for a just single run level .Similarly , we can turn off a particular service in multiple run levels in one go as shown under.
[root@techmint ~]# chkconfig ––level 3 postfix off.
Get Answers For Free
Most questions answered within 1 hours.