So there are 7 runlevels defined and these are numbered from 0-6.Following is the list of the runlevels.
What are runlevels in linux systems?
Here is a list of runlevels in linux:
|Run Level||Mode||What is does|
|1||Single User||No network interfaces, start daemons, or allow non-root logins|
|2||Multi User||No configure network interfaces or start daemons.|
|3||Multi User with Networking||Starts the system normally.Like most of the servers with terminal|
|4||User defined||Not used/User-definable|
|5||Multi User with display||As most of the desktops are launched with display.|
|6||Reboot||Reboots the system|
These are standard runlevels and are used while init the system.
To see which runlevel your system is running in. Open terminal and type
It will show the runlevel like below
These are used in initd to write startup init scripts.
Liked the article please share and subscribe.
You can also read more such articles below.