Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-26-2003, 01:26 PM   #1
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Rep: Reputation: 15
Question runlevels?

ok, in an attempt (an unsuccessful one at that) to shut down my computer i got a message that it was switching to a different run level. waht are the runlevels, what do they stand for, and basically, what are they supposed to be used for? this isn't a crucial question, but i've been wondering about it.

Old 12-26-2003, 01:45 PM   #2
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
type: man init
Old 12-26-2003, 02:37 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
A short breakdown of the runlevels in Linux. But like mikshaw mentioned, the man page on init will get more detailed of these, etc.

Runlevel 0 - Shutdown
Runlevel 1 - Single usermode
Runlevel 2 - Sort of like Single usermode, can't remember off top of my head differences.
Runlevel 3 - Multiuser mode w/ networking, etc
Runlevel 4 - Not used except for Slackware, starts X in Slackware.
Runlevel 5 - Starts up X at boot time
Runlevel 6 - Reboots
Old 12-26-2003, 04:45 PM   #4
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46

Rep: Reputation: 15
runlevels are different states used by the init program. depending on the runlevel init either starts, reboots, halts your computer. you can also use runlevels to define which programs to start on system startup

besides runlevel 0, 1 and 6, the runlevels are not defined clearly and may differ between different distributions. for example debian (by default) does not really make a difference between 2, 3, 4, and 5 (which is imho the smartest thing to do ;), suse uses runlevel 3 as 'normal' runlevel starting a terminal login and runlevel 5 starts a graphical login manager...

Last edited by tokkee; 12-26-2003 at 04:46 PM.
Old 12-26-2003, 05:45 PM   #5
Registered: Dec 2003
Location: PA, USA
Distribution: mandrake 9.1
Posts: 65

Original Poster
Rep: Reputation: 15
ok, thanks!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO and Runlevels TomalakBORG Linux - General 5 08-11-2012 05:32 AM
Runlevels nin881 Slackware 8 05-21-2005 03:50 AM
Question About Runlevels opsraja Fedora 6 11-24-2004 03:53 PM
RunLevels bcom Mandriva 3 05-31-2004 08:07 PM
runlevels kriver Linux - General 1 03-13-2002 06:55 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration