Redhat Default Graphical interface login mode to default command line interface login mode
# Vi/etc/inittab
Id:5:initdefault Change to Id:3:initdefault
You can switch to the command line interface using CTL+ALT+F1~F6 after the graphical interface is started
You can use CTL+ALT+F7 to switch to a graphical interface after a command-line interface is started, or you can use the command startx switch
For Linux installed using virtual machine VM Workstation, you must use a different hotkey because the virtual machine masks the Ctl+alt key combination
CTL+ALT+SHIFT+F1~F6 Switch to this article command line method
Alt+f7 return to the graphical interface
————————————————————————————————————————————————————————
The result of the individual under VMware is
CTRL+ALT+SHIFT+F1 Switch a command line interface to
Alt+f7 return to the graphical interface