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