Linux Run Level

Source: Internet
Author: User

[email protected] ~]# runlevel// View Run Level

N 5

View configuration Files

[Email protected] ~]# Cat/etc/inittab

# Inittab is a used by upstart for the default runlevel.

#

# ADDING Other CONFIGURATION here would have NO EFFECT on YOUR SYSTEM.

#

# System initialization is started by/etc/init/rcs.conf

#

# individual runlevels is started by/etc/init/rc.conf

#

# Ctrl-alt-delete is handled by/etc/init/control-alt-delete.conf

#

# Terminal Gettys is handled by/etc/init/tty.conf and/etc/init/serial.conf,

# with configuration In/etc/sysconfig/init.

#

# For information on what to write upstart event handlers, or how

# Upstart works, see Init (5), init (8), and Initctl (8).

#

# Default RunLevel. The runlevels used is:

# 0-halt (do not set Initdefault to this)

# 1-single User mode

# 2-multiuser, without NFS (the same as 3, if you don't have networking)

# 3-full Multiuser mode

# 4-unused

# 5-x11

# 6-reboot (do not set Initdefault to this)

#

Id:5:initdefault:

the configuration files are as follows 0~6 A level, Id:5:initdefault: default startup Level 5

0. turn off the machine

1. Single User

2. Multi-user without NFS

3. Multi-user

4.unused System Retention

5.x11 Graphics Mode

6. Restart

The restart commands are: Init 6 , reboot , Shutdown-r Now

The shutdown commands are: Init 0 , Shutdown-h Now

[email protected] ~]# yum grouplist// to view installed files

[email protected] ~]#// into English display

[email protected] ~]#. UTF-8// Chinese display

[email protected] ~]# yum groupinstall-y "Desktop"// Install desktop graphical

[[email protected] ~]# init 5// switch to the graphical interface

[email protected] ~]# startx// switch to the graphical interface

This article is from the Linux Learning Notes blog, so be sure to keep this source http://9656134.blog.51cto.com/9646134/1676156

Linux Run Level

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.