Get the App
SLTechnology News&Howtos  ›  Servers  › 

The method of switching between graphical Interface and Command Line Interface by linux

Shulou Source: shulou.com Published: 2022-06-03 05:49:11 10月03日 Update

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!

Tags: Commands interface graphics switching mode two content that is files articles more input configuration methods Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Microsoft macOS Docker Xiaomi