LPI Exam Questions

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

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.