CompTIA Study Materials
AWS Study Materials
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

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

  • /etc/hosts

  • /etc/hostname.conf

  • /etc/sysconfig/hostname

This question is for objective:
System Management
Your Score:
System Management
Security
Scripting, Containers, and Automation
Troubleshooting
SAVE $45