I'm trying to reboot my Debian 10 server but all I get is command not found.
I've tried:
shutdown
reboot
restart
poweroff
but nothing works. I found this thread but when I try to run any of this with sudo I get bash: sudo: command not found.
At the moment I'm logged in as root so I should have the privileges to restart the machine.
Any ideas?