Free 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/sysconfig/hostname

  • /etc/hosts

  • /etc/hostname

This question's topic:
CompTIA Linux+ XK0-005 / 
System Management
Your Score:

Check or uncheck an objective to set which questions you will receive.

SAVE $45