We can enter command interface via the following ways.
Excute init 3 with root.
init run at runlevel 3.
Hotkey: Ctrl + ALt + F1/2/3/…
init is the first process, it commonly locates on /sbin/init, if kernel can’t find init, it will try to run /bin/sh, if the operation fails , the OS will fail to start successfully.
init has 7 runlevels, we can check the default runlevel and runlevels in /etc/inittab. As follows:
1 2 3 4 5 6 7 8 9 10
# Default runlevel. The runlevels used are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode(root) # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode(standard runlevel) # 4 - unused(secure mode) # 5 - X11(user interface) # 6 - reboot (Do NOT set initdefault to this) # id:5:initdefault:
I read How to Read an Academic Article this week. It teaches me to read academic article by sharing handout. It simply summarizes the method of fast reading, a lot of them maybe be a cliche, but the summary is very helpful.