Managing services with systemctl

Linux Fundamentals · lesson 11 of 15 · 15 min

Managing services with systemctl

summary: Services are background programs such as web servers and SSH. Inspect status before restarting, enabling, or disabling a service so changes are evidence-based.

question: What is the safest first action when investigating a service?

options:

  • Check its status
  • Disable every service
  • Delete its logs
  • Change all permissions

correct: Check its status

explanation: Status provides useful evidence before any change is made.


Previous lesson: Package management with apt
Back to Linux Fundamentals
Next lesson: Processes and ps