Computer Tips - Linux: how does `shutdown` and `poweroff` work
Date: 2025jan10
OS: Linux
Keywords: systemd
Q. Linux: how does `shutdown` and `poweroff` work
A.
The `poweroff` command just does `systemctl poweroff`
The `halt` command just does `systemctl halt`
The `reboot` command just does `systemctl reboot`
`shutdown` is a bit more complicated since it doesn't immediately power off.