CompTIA Linux+ XK0-005 Practice Question
A system administrator needs to permanently change the hostname on a Linux server to 'server-prod'. They decide to directly edit the necessary file to apply the hostname change across reboots. Which file should the administrator edit to achieve this?
/etc/hostname.conf
/etc/hosts
/etc/sysconfig/hostname
/etc/hostname