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 system administrator working for a successful Polish company and a long time supporter of Free Software Foundation and Debian operating system.

Gdansk, Poland https://sleeplessbeastie.eu