A system administrator oversees a small network consisting of several AIX servers and workstations. Due to the simplicity of the network and security requirements, they have chosen to manage local name resolution using the /etc/hosts file. Recently, a new server named “appserver” has been added to the network, and they need to update the /etc/hosts file accordingly. They decide to use the command-line method to make the necessary changes. Which command adds the host appserver with IP address 192.168.1.10 to the /etc/hosts file? Reveal Solution Hide Solution Discussion Correct Answer: A 🗳️
Select an option, then click Submit answer.
- ○ echo “192.168.1.10 appserver” >> /etc/hosts
- ○ addhost -f /etc/hosts -i 192.168.1.10 appserver
- ○ edithosts -add appserver -ip 192.168.1.10
- ○ hostent -a appserver -i 192.168.1.10