"Run Levels" in Linux are different startup or shutdown settings that can be used at any time to force Linux into a given state using the "init" command.
Level 0 forces a total system shutdown.
Level 1 switches to "maintanance mode" and only allows the system administrator to log in. This is about the same as Windows "safe mode with command prompt".
Levels 2 and 5 can be defined differently, depending on what version of Linux you are using. Typically, one of these is set to start the graphical user interface, another to start only the command line, and so on. The exact results, again, always depends on what version of Linux is used.
Level 6 forces the system to reboot.
It should be helpful to note that runlevels are not in every Linux system. Systemd-based setups do not have runlevels. The closest they have are "targets," though these are not completely analogous to runlevels.
It's generally not used or whatever the user defines it as.
/etc
Assuming the Linux distribution in question uses a classic SysV Init, you run, as root: # init 2 If you have systemd then there is no runlevel 2. I don't know about upstart. OpenRC is built around SysV Init, but likely systems using it generally ignore runlevels in favor of the initscript configs. Further, most Linux distributions I can think of don't use runlevel 2 at all. Check the documentation for your distribution to see what it is, if anything.
In traditional System V init systems, that'd be runlevel 1 or "single user mode." This should only be used in emergencies where normal boot is not working at all. As Linux is generally going over to systemd, the idea of a "runlevel" is going away, and instead systemd will try to hit specific "targets" during boot. You can change the run target to something like single user mode, but only if necessary.
As of today (05/15/2012), runlevel 2 on most RedHat and Fedora systems is multi-user without network support. [JMH]
In Linux, the flow of control during a boot is from BIOS, to boot loader, to kernel. The kernel then starts the scheduler (to allow multi-tasking) and runs the first userland (i.e. outside kernel space) program Init (which is mostly responsible to run startup scripts for each runlevel), at which point the kernel goes idle unless called externally.
The exact meaning of this question is unclear. Most Linux systems may be shutdown in a variety of ways from the local console or a remote shell login via SSH or telnet for example. If logged in as root at a command line interface (CLI), the following commands will likely change the runlevel of most Linux systems. For a system halt, type "init 0", for a system reboot, type "init 6", for a system halt, you may also type "halt", for a system reboot, you may also type "reboot", to exit multi-user mode and enter single user mode, type "init 1" and to return to multi-user mode, try typing "init 3" and so on... Invoking the "init" command allows you to change the runlevel 'on the fly' without first executing a full shutdown of the system. If the runlevel is changed from a remote connection however, be advised that your connection will be lost if the network interfaces are shut down as a result of the runlevel change. [JMH]
The default runlevel is specified in /etc/inittab. There is no universally accepted runlevel that is specified as the "default." Red Hat and Fedora use 3 or 5, Ubuntu uses 2, Mandriva and SUSE use 5, and Gentoo uses 3. Some (a relatively small number) Linux distros do not use a SysV init style, and thus have no runlevels at all.
These are different "runlevels", which determine what daemons and processes are running. Runlevel 1 is single-user mode, meaning very few daemons are running. Runlevel S is used for the basic scripts that need to run to enter runlevel 1.
Windows and Linux use a device letter to identify each storage device.
[Shutdown the system]Runlevel 1: Single user modeRunlevel 2: Basic multi user mode without NFSRunlevel 3: Full multi user mode (text based)Runlevel 4: UnusedRunlevel 5: Multi user mode with Graphical User InterfaceRunlevel 6: Reboot SystemRunlevel 3 is the answer.
Windows and Linux use device letters to identify each storage device on a computer.