I am running the Ubuntu shell for Windows 10 as a part of a module in university, when I try typing in shutdown, it is telling me
System has not been booted with systemd as init system (PID 1).
Can't operate, this is the same when I type in reboot and using sudo in front of the command
Best Answer
If you want to shutdown the entire computer, apparently Windows has decided it doesn't want to let Ubuntu do that.
If you want to just restart Ubuntu, then from this question on superuser Rebooting Ubuntu on Windows without rebooting Windows? you could: