Linux、centos命令界面和图形化可视界面切换
Linux、centos命令界面和图形化可视界面切换
命令 init XX
0 – halt (Do NOT set initdefault to this) 0.表示关机
1 – Single user mode
2 – Multiuser, without NFS (The same as 3, if you do not have networking)
3 – Full multiuser mode 3.命令行级别
4 – unused
5 – X11 5.为图形化级别,
6 – reboot (Do NOT set initdefault to this)
助记方法,应为图形界面比较大所有用5