How to determine current run-level using Linux

To print current run-level execute:

$ who -r
run-level 3  2012-01-17 17:06

To print previous and current run-level execute:

$ sudo runlevel
N 3
Milosz Galazka's Picture

About Milosz Galazka

Milosz is a Linux Foundation Certified Engineer working for a successful Polish company as a system administrator and a long time supporter of Free Software Foundation and Debian operating system.