Home >Operation and Maintenance >CentOS >How to boot CentOS into command line mode

How to boot CentOS into command line mode

王林
王林Original
2020-03-23 16:40:295631browse

How to boot CentOS into command line mode

The running levels of the command line and the graphical interface are different, as follows:

multi-user.target: Run level 3 (command line)

graphical.target: Run level 5 (graphical interface)

(Recommended tutorial: centos usage tutorial)

So, how to set the system to boot into the command line mode? ?

The method is as follows:

1. Check the current running level:

systemctl get-default

2. Set the boot command line:

systemctl set-default multi-user.target

Extension:

Set up to boot into the graphical interface:

systemctl set-default graphical.target

Recommended related video tutorials: linux video tutorial

The above is the detailed content of How to boot CentOS into command line mode. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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