I. Situations where the system is not in a virtual machine
Switch to the command line interface using Ctrl+alt+f1~6; ctrl+alt+f7 switch to the graphical interface
Two. The system in the virtual machine situation
ctrl+alt+shift+f1~6 switch to the command line interface; Use ALT+F7 to return to the graphical interface
(Note: The graphical interface is not closed after the above method has been switched)
Three. Command mode modification
Open terminal, input init 3, enter.
The meaning of the numbers after Init:
0-halt (do not set Initdefault to this) //Downtime (don't set Initdefault to zero to 0 because this will cause Linux to fail to boot)
1-si Ngle User mode //Single-user mode, just like the safe mode under WinXP
2-multiuser, without NFS (the same as 3, if you don't have netwo rking) //multi-user, but no NFS
3-full multiuser mode //Full multi-user mode, standard run pole, which is the command line interface
4-unused //generally not, but in some special cases you can use him to do something
5-X11 //Select this option, the system will enter the graphical login interface at login
6- Reboot (do not set Initdefault to this) //reboot (do not set Initdefault as 6 because this will cause Linux to restart continuously)
(note: After the above method switches, The graphical interface is completely closed. If a file is not saved in the window, it will be lost. With init 5 You can return to the graphical interface, but the original process is dead. Use STARTX to load the graphical interface on the current level 3)
Four. Each boot directly into the character interface, you want to modify the Etc/inittab file, change the start level from 5 to 3
Terminal is executed as root Vi/etc/inittab open inittab file, edit save restart
Linux graphics and command interface switching