50
6
Because of my problem with mouse-clicks being ignored in Ubuntu, I want to restart from the command-line. (I have an open Terminal, and the keyboard is not ignored.)
How do I restart a computer running Linux (or more specifically Ubuntu) from the command-line?
What about if you're not
sudo
? When clicking, you don't have to besudo
... – Atcold – 2016-02-17T14:50:21.35010Be careful with init. If the inittab has been changed, init 6 may be mapped to some other runlevel. I've seen a number of places that had the default runlevel after reboot set to single-user mode. – Satanicpuppy – 2009-12-09T19:24:44.797