The method of switching between graphical Interface and Command Line Interface by linux
If you want to switch directly from the command line mode to the graphical interface, you only need to execute the following two commands.
1. Switch the graphical interface to command line mode
Init 3
2. Switch from command line mode to graphical interface
Init 5
If we want to boot automatically into the graphical interface or the command line interface, we can modify the / etc/inittab file.
Enter the vi / etc/inittab command to modify the id:5:initdefault configuration.
These are the details of how to switch between graphical interface and command line interface in linux. Please pay more attention to other related articles!