Skip to main content

Command Palette

Search for a command to run...

Linux services Timesavers

Published
1 min read
Linux services Timesavers

We could start and enable services (make persistent between reboots) in a single command which is helpful in the below situations among others:

  • using it in scripts
  • while adding new services into the IT environment
  • during change activities which require stopping and disabling of services

This is available in all Linux systems having systemd as their system and service manager.

To start and enable a systemd service

systemctl enable service --now

To stop and disable a systemd service

systemctl disable service --now

More from this blog

The Continuous Journey

24 posts