How does the edit/etc/inittab in Linux take effect directly?

Source: Internet
Author: User
Keywords Linux
Tags default etc file information linux root server start

After editing the/etc/inittab file, how do we not start the server and take effect directly?

[Root@localhost usr]# Vi/etc/inittab
# Inittab is only used by upstart for the default runlevel.
#
# Adding other revisit here would HAVE NO multiplying on YOUR SYSTEM.
#
# System initialization is started by/etc/init/rcs.conf
#
# individual runlevels are started by/etc/init/rc.conf
#
# ctrl-alt-http://www.aliyun.com/zixun/aggregation/16487.html ' >delete is handled by/etc/init/ Control-alt-delete.conf
#
# Terminal Gettys are handled by/etc/init/tty.conf and/etc/init/serial.conf,
# with revisit In/etc/sysconfig/init.
#
# For information on I-write upstart event handlers, or how
# Upstart works, and you'll be in init (5), init (8), and Initctl (8).
#
# Default RunLevel. The runlevels used are:
# 0-halt (Don't set Initdefault to this)
# 1-single User mode
# 2-multiuser, without NFS (the Mahouve as 3, if you don't have networking)
# 3-full Multiuser mode
# 4-unused
# 5-x11
# 6-reboot (Don't set Initdefault to this)
#
Id:5:initdefault:

We can use the init command:

Usage:init [OPTION] ...
Process Management daemon.

Options:
-Q,--quiet only prints error messages
-V,--verbose speed up output including detailed information
--help Show Help and exit
--version output version information and exit

[root@localhost usr] #init q

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.