How to use linux Command Line to log on

Source: Internet
Author: User

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.

  1. Linux touch command parameter modification file Timestamp
  2. Usage of du command parameters in linux
  3. Use linux to open a browser command under the linux Command Line

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.