this post was submitted on 27 Feb 2026
58 points (98.3% liked)

Linux

63443 readers
408 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

hehe, so ... if you ever change the hostname of a Linux machine, you really really ought to double-check /etc/hosts to make the same hostname change there

it's surprising just how much will break if a machine's own hostname isn't resolvable to a 127.x.x.x address :P

you are viewing a single comment's thread
view the rest of the comments
[–] luthis@lemmy.nz 7 points 3 days ago (2 children)

There's another way to change the hostname that isn't etc/hosts?

[–] jokeyrhyme@lemmy.ml 4 points 2 days ago (1 children)

no, you might have misunderstood

/etc/hosts is not where the hostname is configured

/etc/hostname for the actual hostname, and a mapping in /etc/hosts pointing it at a 127.x.x.x address

[–] luthis@lemmy.nz 2 points 2 days ago

Ohh right yes. I only ever touch hostname once during install and then only hosts after that

[–] MonkderVierte@lemmy.zip 5 points 3 days ago* (last edited 3 days ago)

Probably a systemd-somethingd.

Edit: yup