How to switch between graphical interface and command line interface in Linux

王林
Release: 2020-05-25 11:02:11
Original
5585 people have browsed it

How to switch between graphical interface and command line interface in Linux

If you want to switch directly between the command line mode and the graphical interface, you only need to execute the following two commands.

1. Switch the graphical interface to the command line mode

init 3
Copy after login

2. Switch the command line mode to the graphical interface

init 5
Copy after login

If we want to automatically enter the graphical interface or command line when booting interface, you can modify the /etc/inittab file.

Enter the vi /etc/inittab command to modify the id:5:initdefault configuration.

How to switch between graphical interface and command line interface in Linux

Recommended tutorial: linux tutorial

The above is the detailed content of How to switch between graphical interface and command line interface in Linux. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template