runlevel
runlevel reads the system utmp file (typically /var/run/utmp) to locate the runlevel record, and then prints the previous and current system runlevel on its standard output, separated by a single space. If there is no previous system runlevel, the letter N will be printed instead.[1]
Documentation
- man 8 'runlevel' [EN]
References
- ↑ man 8 'runlevel'