LFCS / reference

reference

systemctl enable --now svc

Start now + at boot

systemctl status|restart|reload svc

Inspect / restart / reload

systemctl daemon-reload

Reload unit files after editing

systemctl mask|unmask svc

Block / unblock a service

systemctl get-default / set-default T

View / set boot target

journalctl -u svc -f

Follow a unit's logs

journalctl -b -p err

This boot, errors only

systemctl --failed

List failed units

systemctl list-timers

Show all timers

crontab -e / crontab -l

Edit / list user cron

modprobe mod / modprobe -r mod

Load / unload kernel module

apt install x / dnf install x

Install package

dpkg -S /path / rpm -qf /path

Which package owns a file