Which runlevel are you in?
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:...
Trackback URL for this post:
If you like this article, subscribe to our full rss
Please post your question in our forum and use comments only to leave your comments about the article, thanks.













to detect the runlevel you
to detect the runlevel you are in use
who -rto switch
init {level#}Post new comment