#Switch to privileged user
su -
#Check the execution mode of the current OS. (3:CUI, 5:GUI)
runlevel
# CUI/Switch GUI. (3:CUI, 5:GUI)
telinit 5
#Reconfirm the execution mode of the current OS.
runlevel
#Return to original user
exit
Details of the current OS execution mode (runlevel)
Switching in CentOS 7
This article is a migration article from the blog "Technical Notes for Chores Engineers". The previous blog will be deleted.
Recommended Posts