How to use linux command line to log on

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.