Linux command line startup

Source: Internet
Author: User
The linux command line has six running levels to start the Linux operating system: 0: stopped, and the machine is disabled (do not set initdefault to 0 ). 1: Single-user mode, just like the security mode in Windows 9x. 2: multiple users, but not NFS. Www.2cto. com3: complete...
The linux command line has six running levels to start the Linux operating system: 0: stopped, and the machine is disabled (do not set initdefault to 0 ). 1: Single-user mode, like Windows 9x security mode. 2: multiple users, but not NFS. Www.2cto.com 3: full multi-user mode, standard running level (we set the command line to use it for startup ). 4: reserved. it is generally not used. in some special cases, you can use it to do something. For example, you can switch to this mode to make some settings when the battery of your laptop is exhausted. 5: X Window graph startup (default Startup mode ). 6: restart. You can find the/etc/inittab file and change "id: 3: initdefault:" to "5: initdefault:" In the text line. restart the file. Here we change the running level from the window mode of 5 to the command line mode of 3. Note that you must use the administrator permission to change this file. You can also use telinit n to start the instance. Use startx to start the graphical environment.
 
Related Article

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.