Where is the system name gathered from #549
-
Hi everyone ! I have a machine which is running I checked everywhere (/etc/hosts, /etc/hostname...) and nowhere it is set to |
Beta Was this translation helpful? Give feedback.
Answered by
vincentbernat
Oct 4, 2022
Replies: 1 comment
-
It does |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
redat00
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It does
getent hosts $(uname -n)
. So, it's a combination of/etc/hostname
(result ofuname -n
) and/etc/hosts
.