systemd
systemd is known to be an init system for linux. however this is only paritially true. it is a suite of basic building blocks for a linux system. it's main component is the init system, however it can also manage user processes and provide replacements for various daemons and utilities including device management, login management, network connection management and event logging.
usage
units
show system status:
systemctl status
list running units:
systemctl list-units
list failed units:
systemctl --failed
status of an unit:
systemctl status <unit>
start a unit immediately:
systemctl start <unit>
stop a unit immediately:
systemctl stop <unit>
restart a unit:
systemctl restart <unit>
automatically start a unit at boot:
systemctl enable <unit>
automatically start a unit at boot and start it immediately:
systemctl enable --now <unit>
power management
reboot system:
systemctl reboot
shutdown and power-off the device:
systemctl poweroff
suspend the system:
systemctl suspend
put the system into hibernation (write ram to disk):
systemctl hybernate