The following is the default linux command line logon method. REDHATLinux90 automatically starts X-Window at startup to enter the graphical operation interface, and many Linux hardcore players are used to it.
The following describes how to log on to the linux console.
By default, REDHAT Linux 9.0 automatically starts X-Window at startup to enter the graphical operation interface. many Linux hardcore players are used to working on the Console character interface, or some players may think that X-Window is too slow to start and prefer intuitive and quick Console operations.
1. linux command line logon: Enter the character interface
To directly enter the Console interface when logging on to the linux command line, you can edit the/etc/inittab file, find the line id: 5: initdefault:, and change it to id: 3: initdefault: after restarting the system, you can simply change 5 to 3 to convert the X-Window graphic operation interface or the Console character interface at startup, this is because the Linux operating system has six different run levels. at different run levels, the system has different states. these six run levels are:
0: Shutdown (remember not to set initdefault to 0, because this will make Linux unable to start)
1: Single-user mode, just like the security mode in Win9X.
2: multiple users, but not NFS.
3: full multi-user mode, standard operation level.
4: it is generally not used. in some special cases, you can use it to do something.
5: X11, which means entering the X-Window system.
6: Restart (remember not to set initdefault to 6, because this will make Linux continuously restart ).
Among them, running Level 3 is the standard Console character interface mode we want to enter. the above is the linux command line logon method.