• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

hostname

calutateo

Member
Hallo,

folgende Frage von cert21.com zum Thema LPI 202:
#5 (lpi202ym20)
You are a Linux Administrator. You are asked to manage a number of Linux systems. Advanced configuration tasks have to be performed. You have just run the hostname command. From which file can you verify the result (Fill in the blank please):

Please type in your answer in the form :
Your answer is: /proc/sys/kernel/hostname
Correct answer is: /etc/hosts
Explanation : When you set the local machine's name with the hostname command, an entry is usually made in the /etc/hosts file. You should verify that your machine name appears in that file.

Warum ist meine Antwort falsch?
Unter Red Hat und SuSE wird die Datei /etc/hosts nicht verändert!
 
Oben