Bit of a noob here (clearly). I was having some issues with my server so I tried to restart it, I used sudo halt
and now can't access my server to restart!
I didn't forsee this problem, it's a dedicated server but obviously I don't have physical access. How do I start it again?
sudo shutdown now
to shut down the server, andsudo reboot
.sudo halt
suspends your computer, which is akin to closing the lid on a laptop.sudo halt
on my Ubuntu computer, it shuts down immediately without asking questions. It is my preferred way of shutting down the machine because it doesn't ask annoying questions or wait a minute. It still waits (pointlessly in my opinion) for processes to die but one day I'll fix that!