Which file in Linux is primarily used to configure the static IP address of a network interface?
- /etc/network/interfaces
- /etc/hostname
- /etc/resolv.conf
- /etc/hosts
The primary file used to configure the static IP address of a network interface in Linux is '/etc/network/interfaces.' This file contains network interface configuration settings, including IP addresses, subnet masks, and gateways for static configurations.
Loading...
Related Quiz
- You notice that a process on your Linux system is consuming too much CPU. Which command would you use to adjust its priority?
- Which command can be used in a shell script to introduce a delay, often used for debugging or to pause the execution?
- You are troubleshooting a connectivity issue on a server. You need to identify all active connections to and from the server. Which command would be most suitable for this purpose?
- The _________ utility in Samba is used to manage user accounts and passwords.
- To diagnose potential issues with domain name resolution, you might use the ________ command.