Which files must be edited to change the name of a Linux PC (e.g., from PC1 to machine1) ?
What will be an ideal response?
The contents of the file /etc/sysconfig/network is shown below:
NETWORKING=yes
HOSTNAME=PC1
FORWARD_IPV4=yes
This file defines global parameters of the network configuration like host name, domain name and
IP address of the default gateway. It also includes a line to determine whether the Linux PC acts as
a router or not./etc/hosts file may have the IP address and its hostname. This file must be edited to
make the change effective. Otherwise, whenever resolving its hostname, the wrong IP address
would be retrieved.
You might also like to view...
Which of the followings is the correct CSS syntax that specifies the text color of the element that has an id attribute equal to navmenu?
A. navmenu {color:#000000}; B. .navmenu {color:#000000}; C. #navmenu {color:#000000}; D. *navmenu {color:#000000};
Which of the following is an example of a personal software firewall?
A. Proxy server B. ZoneAlarm C. Microsoft ISA server D. Antivirus software
COGNITIVE ASSESSMENT You go to your local town utility in order to pay your gas bill. Which of the following are you most likely to use?
A. vending kiosk B. financial kiosk C. visitor kiosk D. utility kiosk
?The _____ value of the display style removes an element from a rendered page.
A. ?null B. ?none C. ?empty D. ?hide