Seven Levels of linux running and seven levels of linux
Running level description
0. All processes will be terminated, and the machine will be stopped in an orderly manner. when the machine is shut down, the system will be in this running level.
1 single-user mode, used for system maintenance, only a few processes run, and all services are not started
2 multi-user mode, the same as running level 3, but the network questionnaire system (NFS) service is not started
3 multi-user mode: Allows multiple users to log on to the system, which is the default startup level of the system.
4. Custom operation level left for users
5-user mode, and run X-windows after the system is started, a graphical logon window is provided.
6. All processes will be terminated and the system will restart.
View running level
# Runlevel
Temporarily switch the running level (it will be automatically restored after the system is restarted)
# Init level Number
Enter the GUI (init 5, if the system is installed with a GUI)
# Startx
Modify default system running level
# Vim/etc/inittab
Initdefault