zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

What run level am I in?

June 13, 2010 by Igor Drobot Leave a Comment

Q: How can I find out what run level a system is in at the moment?

1. The runlevel command tells you what run level is running
2. The who -r command also tells you the run level

1
2
firewall ~ # /sbin/runlevel
N 2

firewall ~ # /sbin/runlevel N 2

or

1
2
firewall ~ # who -r
         run-level 2  2010-05-28 23:13

firewall ~ # who -r run-level 2 2010-05-28 23:13

Filed Under: Linux Tagged With: Linux, runlevel

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok