A runlevel is a preset operating state on a Unix-like operating system.
A system can be booted into
(i.e., started up into) any of several runlevels, each of which is
represented by a single digit integer. Each runlevel designates a
different system configuration and allows access to a different
combination of processes (i.e., instances of executing programs).
The are differences in the runlevels according to the operating system. Seven runlevels are supported in the standard Linux kernel (i.e., core of the operating system). They are:
0 - System shut down.
1 - Single user; (help full for password recovery).
2 - Multiple users, no NFS (network filesystem).
3 - Multiple users, command line (i.e., all-text mode) interface; the standard runlevel for most Linux-based server hardware.
4 - Resered
5 - Multiple users, GUI (graphical user interface); the standard runlevel for most Linux-based desktop systems.
6 - Reboot; used when restarting the system.
By default Linux boots either to runlevel 3 or to runlevel 5. The former permits the system to run all services except for a GUI. The latter allows all services including a GUI.
No comments:
Post a Comment