Make /etc/inittab changes effective without rebooting Linux server

Q. I run a Linux webserver and down time is not an option for me. Now I I made some changes to my /etc/inittab file. How do I make those changes effective without rebooting my Debian Linux server?

A. The inittab file describes which processes are started at bootup and during normal operation (e.g. /etc/init.d/boot, /etc/init.d/rc, gettys…). Init distinguishes multiple runlevels, each of which can have its own set of processes that are started. Valid runlevels are 0-6 plus A, B, and C for ondemand entries.

telinit or init q option

You need to use /sbin/telinit command. It takes a one-character argument and signals init to perform the appropriate action. Q or q tell init to re-examine the /etc/inittab file.

To make changes to the /etc/inittab effective without a reboot, use init or telinit as follows:
# init q
OR
# telinit q


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one


CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
1 comment… add one
  • Aleksey Fedotov Jun 24, 2011 @ 3:39

    Also can be accomplished by sending SIGHUP to the init process:

    # kill -1 1

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum