Linux上看一下查看运行等级和修改linux运行等级

Linux上看一下查看运行等级
run level   #查看运行等级
init 1 # 单用户数字模式
init 2     # 不具备网络文件系统nfs功能的多用户字符界面
init 3     # 具有网络功能的多用户字符界面
init 4     # 没用
init 5     #具有网络功能的图形用户界面
init 6     #重启
修改linux运行等级
请你编辑这个文件: /etc/inittab

# For information on how to write upstart event handlers, or how
# upstart works, see init(8), initctl(8), and events(5).
#
# Default runlevel. The runlevels used are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:

你可能感兴趣的:(linux,redhat,运行等级)