Where is the default runlevel stored in SysV init systems?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

In SysV init systems, the default runlevel is stored in the /etc/inittab file. This file is critical for the initialization process as it defines various parameters for the system booting process, including the default runlevel that the system should enter upon startup. The runlevels determine the state of the machine, such as whether to start in multi-user mode, graphical mode, or shut down, among others.

The /etc/init.d directory is primarily used for storing script files used to start and stop services during the booting process but does not contain information about the default runlevel. The /etc/sysconfig/network-scripts directory is associated with network configuration files and scripts, and the /etc/resolv.conf file is used for DNS resolver configuration. Therefore, these two options are not relevant to the runlevel configuration. Thus, /etc/inittab is indeed the correct location for the default runlevel in SysV init systems.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy