[plug] Current Run Level

Anthony J. Breeds-Taurima tony at cantech.net.au
Tue Feb 19 14:37:32 WST 2002


On Tue, 19 Feb 2002, Steve Grasso wrote:

> List,
> 
> Apart from looking in /etc/inittab for initdefault, how do you easily 
> determine the current runlevel as an ordinary CLI user? echo $RUNLEVEL won't 
> do it, since a pseudo terminal isn't a child process of init. 
> *scratches head*

man runlevel
~# runlevel
N 3
3 = current RL
N = previous RL (N = none).

So I;'m running at RL 3 and I've been that way since boot.

Yours Tony.

/*
 * "The significant problems we face cannot be solved at the 
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */



More information about the plug mailing list