👻🕸️ Cybersecurity Awareness Month Sale - 50% off select memberships! 🕸️👻

2 days, 0 hour remaining!

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/hosts

  • /etc/hostname.conf

  • /etc/hostname

  • /etc/sysconfig/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