Problem Statement
Explain how to verify which services start automatically at boot.
Explanation
Use systemctl list-unit-files --type=service to see which units are enabled or disabled.
You can also run systemctl is-enabled servicename to check the startup behavior of a specific service.
Code Solution
SolutionRead Only
systemctl list-unit-files --type=service | grep enabled
Practice Sets
This question appears in the following practice sets: