Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

Which runlevel are you in?

Date: 2008-05-21 00:00:00 -0400

I wrote a little runlevel explanation, now I will show you how to know in which runlevel your Linux Operating System is actually running.

Which runlevel are you in?

Enter the following command:

sudo runlevel

My output is:

N 2

Switch to other runlevel

To do that enter:

telinit [number of runlevel]

This will change your runlevel to whatever number you enter there, be careful with this command as you can loose data, some programs may not close in an appropriate way.

telinit is actually the same as init, or better said:

telinit = tell init to do change runlevel to:...

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.