Linux File storage directory detailed

Source: Internet
Author: User

/etc store various configuration files



  • /etc/inittab control startup mode     

    [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)(off)

    # 1-single User Mode (single-user)

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

    # 3-full Multiuser mode (command line mode)

    # 4-unused (not used)

    # 5-x11 (desktop mode)

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

    # Id:3:initdefault:

    1. View Run Level

      [Email protected] ~]# RunLevel

      N 3

    2. Different mode switching

      Init number

Linux File storage directory detailed

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.