this post was submitted on 24 Nov 2026
668 points (96.8% liked)
Programmer Humor
34287 readers
1742 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
- If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is more of a meta comment. I put
in
/etc/systemd/resolved.conf.d/custom-hosts.conf//etc/hosts/(sans the header) to make it a 1 character edit to switch between localhost ipv4 and localhost ipv6./etc/hostsis a file, why the leading slashYou mean trailing slash?
yes
I meant, the
/etc/hostsfile doesn't need the[CustomHosts]header.