Linux services

  • List all services:
    • sudo systemctl list-unit-files –type=service
  • List only enabled services at system boot:
    • sudo systemctl list-unit-files –type=service –state=enabled –all
  • Disable startup service:
    • sudo systemctl disable –now <service-name>
  • Check if service is enabled at boot time:
    • sudo systemctl is-enabled <service-name>