I just realized that /usr/bin/poweroff and /usr/bin/shutdown are symbolic link to systemctl, but I don't know how systemctl is being run.
so is there any difference between /usr/bin/poweroff and /usr/bin/shutdown?
EDIT: when I call any of these two programs, systemctl is being executed but I don't know what command/parameter is passed to systemctl.
when I type systemctl --helpthere are two options that may come into play
- halt Shut down and halt the system
- poweroff Shut down and power-off the system
but something tells me that both poweroff and shutdown are the same in here (I'm guessing)
I'm running Archlinux