Want to save your progress?
Create a free account to track your lessons and quizzes across devices.
Register Login
« Back to ClassCompleted: 0%

Services & Processes (systemd)

Page 1 of 1


Systemd: Managing Services

Most modern Linux systems use systemd as the init system (PID 1) to bootstrap the user space and manage system processes. You interact with it using the systemctl command.

  • Start a service: sudo systemctl start apache2 (Starts it now).
  • Stop a service: sudo systemctl stop apache2 (Stops it now).
  • Enable a service: sudo systemctl enable apache2 (Ensures it starts automatically when the server boots).
  • Check status: systemctl status apache2 (See if it is running and view recent logs).