What is the difference between a "sudo reboot" command and a "ipmitool power reset" command?
Matthew Martinez
From what I can find online sudo reboot and ipmitool power reset are warm reboot commands
Are there actually any differences between these two or are they just the same thing with a different method to execute?
I could guess they are different due to the syntax but under the hood is it the same signals to the motherboard, just from a different input OR'ed together?
1 Answer
sudo reboot normally runs the shutdown -r command, which closes running processes. ipmitool power reset triggers the same hardware reset mechanism but without calling shutdown.
Note that shutdown and reboot are links to the same file. In the olden days, a script that did the orderly shutdown. Now they are both links to systemctl.
4