How do I reboot a Ubuntu Server from the command line? sudo reboot now never seems to work for me. Because its a server, I don't have a window manager installed, so I can't do it from a GUI (which always seems to work).

I've had the problem for years on different versions of the operating system. It happens in virtual machines and on real metal. The same problem exists with sudo shutdown now, too.
I've lived with it in the past. The difference now is I don't want to just hit the power button because I might lose data.
sudo shutdown -r now? – ASCIIbetical Dec 30 '13 at 04:25sudo reboot nowis not a valid option. see man 8 reboot – sourav c. Dec 30 '13 at 04:31sudo init 6must always work. Also, there are Ctrl+Alt+Del and REISUB. – Danatela Dec 30 '13 at 05:46