Which chkconfig command will display whether or not the service ldap is configured to start in each runlevel?

Which chkconfig command will display whether or not the service ldap is configured to start in each
runlevel? (Provide the command and any options or parameters)

Which chkconfig command will display whether or not the service ldap is configured to start in each
runlevel? (Provide the command and any options or parameters)

Answer: chkconfig –

Explanation:
-list ldap

From the man pages:
chkconfig – updates and queries runlevel information for system services
–list name This option lists all of the services which chkconfig knows about, and whether they are
stopped or started in each runlevel. If name is specified, information in only display about service
name.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Marcos

Marcos

Answer: chkconfig –list ldap or chkconfig -l ldap on some distributions