20. February 2017 1 min read
When Linux system has no shutdown command use reboot -p
We have all been there. Powering off the computer with or without restart so that everything ends nicely and you do not just pull the power from it. But Embedded Linux devices (natively compiled Kernel) do not have shutdown command in their system/bin (or /bin). But they do have reboot command.
There are few ways to reboot or poweroff / shutdown your Linux device. Both of them need root access:
# to simply reboot
reboot
# to simply reboot with shutdown command
shutdown -r now
# to poweroff
reboot -p
# to poweroff with shutdown command
shutdown now