Linux: Close and open the graphical interface

CentOS 7 system

(Execute under the root account, or use sudo to obtain permissions)

Close the graphical interface: systemctl set-default multi-user.target

Open the graphical interface: systemctl set-default graphical.target

Published 6 original articles · praised 3 · visits 79

Guess you like

Origin blog.csdn.net/qq_41432014/article/details/104940314