I'm trying to reboot my Debian 10 server but all I get is "Command not found. I've tired
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
.
Atm I'm logged in as root so I should have the privileges to restart the machine.\n
Any Ideas?
PATH
is empty or messed up./sbin/reboot
should work. If it works, do you still getcommand not found
for many commands after the reboot?