In Linux, a "run level" refers to a specific state of the operating system in which a certain set of services and daemons are running. There are several predefined run levels, each with a specific purpose.
Linux Run Level (init 0) |
||
ID |
Name |
Description |
0 |
Off |
Turns off the device. |
1 |
Single-user mode |
Mode for administrative tasks. |
2 |
Multi-user mode |
Does not configure network interfaces and does not export networks services. |
3 |
Multi-user mode with networking |
Starts the system normally. |
4 |
Not used/user-definable |
For special purposes. |
5 |
Full mode |
Same as runlevel 3+. |
6 |
Reboot |
Reboots the device. |
Runlevel 0 |
shuts down the system |
Runlevel 1 |
single-user mode |
Runlevel 2 |
multi-user mode without networking |
Runlevel 3 |
multi-user mode with networking |
Runlevel 4 |
user-definable |
Runlevel 5 |
multi-user mode with networking |
Runlevel 6 |
reboots the system to restart it |