What are run levels in UNIX/Linux?
Run levels and their services
0 This level is used for halting the system. The only
valid service for this level is the script halt,
which is linked into /etc/init.d/rc0.d/. The
script halt executes /etc/init.d/halt.local. Spe
cials system issues for halt or reboot should be
6 This level is used for rebooting the system. The
only valid service for this level is the script
reboot, which is linked into /etc/init.d/rc6.d/.
The script reboot executes /etc/init.d/halt.local.
Specials system issues for halt or reboot should be
S This mode is used to switch from boot phase into
single user mode. The last valid service for this
mode is the script single, which is linked into
/etc/init.d/rcS.d/. In this mode you have only one
1 Accordingly to the Linux Standard Base (LSB) speci
fication this runlevel is used to switch from nor
mal runlevel into single user mode. This is dif
ferent from former SuSE Linux versions!
2 The run level 2 is without remote networking. Note
that on some other systems this is identical with
the single user mode. This run level can have more
than one virtual console.
3 The run level 3 is with network. This run level is
for server stations not automatically running X.
Log in to answer.
Copyright © dBuggr.com - All Rights Reserved.