Which folder do Red Hat-based systems use to store network configuration files?

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!

Red Hat-based systems, such as CentOS and Fedora, store their network configuration files in the /etc/sysconfig/network-scripts directory. This specific folder contains essential files for managing network interfaces, including scripts for bringing interfaces up or down and configuration files that define how the interfaces should behave. For instance, each network interface typically has a corresponding configuration file named ifcfg- within this directory, where you define settings like the IP address, netmask, gateway, and whether DHCP is enabled or not.

The other options do not serve this purpose. For example, /etc/network is a directory commonly used by Debian-based systems, not Red Hat. The /usr/share/doc directory is intended for documentation and not for configuration files. Lastly, /etc/init.d is the path for scripts that control starting and stopping services at system boot, which is separate from network configuration tasks. Thus, option B is the correct and specific location for network configuration files in Red Hat-based systems.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy