Find current runlevel of a linux system

FREQUENTLY ASKED QUESTIONS (Linux)
Q: How to find out current runlevel of my linux system?

In every Linux desktop distros default runlevel will be "X11" (5th runlevel). The "runlevel" command will display the current runlevel which the system is running.


[root@server ~#]runlevel
N 5


Runlevels in Linux
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)

Was this helpfull ?

0 comments:

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons