How to Boot to the Command Line Interface

For some reasons, you may want to boot directly to the command line. You can easily do this by editing the /etc/default/grub file.

Edit your GRUB_CMDLINE_LINUX_DEFAULT= line, so it looks like this:


To apply this changes, you have to update your grub:

$ sudo update-grub

At reboot, you will get only a terminal. To turn on your Grafical Environment, do the following:

For Gnome: sudo service gdm start

For KDE: sudo service kdm start

Tagged with: , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *




Subscribe to get the latest Linux news and how to guides directly on your e-mail!