Software >> OS >> Unix >> Linux >> Red Hat Enterprise Linux >> 7.x >>  How to determine the current "run level" in RHEL 7

 

# systemctl get-default

graphical.target

 

This is equivalent to the runlevel command in earlier RHEL versions that use SysV init.

 

Runlevels

  Target Units Description
0 runlevel0.target, poweroff.target Shut down and power off the system.
1 runlevel1.target, rescue.target Set up a rescue shell.
2 runlevel2.target, multi-user.target Set up a non-graphical multi-user system.
3 runlevel3.target, multi-user.target Set up a non-graphical multi-user system.
4 runlevel4.target, multi-user.target Set up a non-graphical multi-user system.
5 runlevel5.target, graphical.target Set up a graphical multi-user system.
6 runlevel6.target, reboot.target Shut down and reboot the syste