Frequently Asked Questions for Systemd

How to disable a systemd unit with systemctl

Want to disable a service or specific systemd unit? Use systemctl to configure units and disable it on boot or completely.


Disable a service or specific unit with systemctl

How to see the last X lines with journalctl

Limit the output from journalctl by defining the number of lines you want to see.


Perform smarter queries when requesting information from journalctl

How to show failed units with systemctl

Want to check the system for failed systemd units? In this article we show how to do this with systemctl and query the units with a failure state.


Show failed systemd units with systemctl

How to start and enable a unit with systemctl

Combine the start and enable command when using systemctl to get a unit like a service started at boot and right away.


Start and enable a unit with one command