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 graphic 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 like intuitive and fast Console operations.
1. linux Command Line Logon: Enter the character Interface
To directly access 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: And then restart the system. We can simply change 5 to 3 to convert the X-Window Graphic operation interface or Console character interface at startup, this is because the Linux operating system has six different run levels. The system has different States under different run levels. These six run levels are:
0: Do not set initdefault to 0 because it 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.
- Linux touch command parameter modification file Timestamp
- Usage of du command parameters in linux
- Use linux to open a browser command under the linux Command Line