5
2
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?
Maybe your
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? – Kamil Maciorowski – 2019-07-22T08:30:51.973Its a VM where I want to try my new coded C# apps with Mono so I don't use many commands there. I can say that apt, apt-get, su and wget works. So I tried it with your version and it works fine on the machine itself. After the reboot it works with putty too. It was the first start after the installation. Coud whis cause the problem? – BDevGW – 2019-07-22T08:39:06.470