I am trying a number of settings on my Ubuntu 11.10 box. Unfortunately, I messed up some settings and the X window does not boot up.
I need to boot into command line to restore some settings.
However, everytime I boot, the system hangs at the Ubuntu welcome screen. All I can do is to reboot the machine.
Is there anyway I can boot into the command line directly?
Many thanks
To reboot Linux using the command line: To reboot the Linux system from a terminal session, sign in or “su”/”sudo” to the “root” account. Then type “ sudo reboot ” to reboot the box. Wait for some time and the Linux server will reboot itself.
systemctl. The system will be restarted immediately. When the reboot is initiated, all logged-in users and processes are notified that the system is going down, and no further logins are allowed. Linux will close all open files, stop the running processes, and restart the system.
To switch back and forth from X to CLI is by using the virtual terminals. You can boot into X and then hit Ctrl+Alt+<Fn>
where Fn is a function key from F2
to F6
. To return to X is with Ctrl+Alt+F7
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With