Determine the current runlevel the system is configured to boot to

# systemctl get-default

 

The same as runlevel 3 in CentOS 6
multi-user.target

The same as runlevel 5 in CentOS 6
graphical.target

 

Change default runlevel permanently

Boots CLI as default
# systemctl set-default multi-user.target 

Boots GUI as default
# systemctl set-default graphical.target 

 

Activate a run level without rebooting

Start the GUI
# systemctl isolate graphical.target

Start the CLI
# systemctl isolate multi-user.target

 

 

 

 

 

 

 

Hits: 676