Switch between graph mode and command line mode in Linux

Source: Internet
Author: User

Switch between graph mode and command line mode in Linux

This article describes how to switch between Linux mode and Linux Command Line mode, as well as how to switch between Linux mode.

In ubuntu 7.04, you can use CTRL + ALT + F2 to switch to the command line mode, and press CTRL + ALT + F7 to enter the graphic interface mode.

Some may have heard of the Linux running level. Run level is the so-called run level of Linux. Friends who used Fedora Core may have been familiar with it before. The default run level 5 of Fedora Core is to enter the X Window mode. By modifying the inittab, you can change it to another run level:

$ Gedit/etc/inittab

For example, change 5 in ID: 5: initdefault to 3, that is, when Linux enters the system, it directly enters the X interface mode, and now it directly enters the Linux Command Line Mode:

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 ).

Level 5 is the X-Windows graphical interface, and level 3 is the standard command line interface.

The above describes how to switch between Linux and Linux Command Line modes.

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.