Enter your email address:

Delivered by FeedBurner

Which runlevel are you in?


StumbleUpon Toolbar

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:

http://www.go2linux.org/trackback/497
StumbleUpon Toolbar

 If you like this article, subscribe to our full rss

If this article was somehow useful for you, you can leave something in the tip's jar

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 -r

to switch
init {level#}

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

This site is proudly hosted at Bluefur Hosting