From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

System basics: Service management

System basics: Service management - Linux Tutorial

From the course: Linux Tips

System basics: Service management

- [Instructor] On a Linux system, many of the useful features or programs that a system runs are called services. These services are programs like any that you can run from the command line. But they run in the background waiting for input, rather than being invoked right when they're needed and stopped when they're done. A web server, a file server, the system that keeps track of logs, the firewall, and many more useful functions are run as services. On most modern Linux systems, services are managed by systemd and we can interact with them using the systemctl command. Systemctl shows us the status of services it knows about, and then gives us the opportunity to start and stop services and to enable and disable them. Or to tell the system whether or not to start a given service when the system boots up. The systemctl command by itself, gives us a big list of what's currently loaded. We can see the name, the status, whether each item is active, and a descriptive name that tells us…

Contents