UPDATE-HOSTNAME-FROM-IP(8)
β¨ update-hostname-from-ip β¨
okay bestie, this is the update-hostname-from-ip page from section 8 of the Debian Edu Admin Tools manual π she's a little command that makes your hostname match your IP, and honestly? iconic behaviour.
πΈ NAME πΈ
update-hostname-from-ip β set current hostname to match the IP address π¦
π SYNOPSIS π
update-hostname-from-ip [-mMInq]
that's it. that's the whole vibe check. five little letters and she's ready π
π DESCRIPTION π
So here's the tea, bestie π: update-hostname-from-ip sets your current hostname so it matches the IP address on eth0.
And why would you want that, you ask? Because this is genuinely useful when you're grabbing your IP address from DHCP β¨ β like, the DHCP server hands you an address and you justβ¦ go with it. No cap, that's the whole point.
π COMMAND LINE OPTIONS π
These are the options that can appear on the command line β and yes, every single one of them is here, I would never gatekeep π
-mβ use MAC address π-MMAC β use this MAC address, like, the specific one you pick π-IIP β use this IP address, again, the one you choose β¨-nβ print only π (she just tells you, she doesn't do anything)-qβ quiet π€« (no yapping)
π AUTHORS π
Debian Edu Team, and their whole internet home is right here: https://blends.debian.org/edu π«Ά
and that's the whole page, bestie!! this one came straight from the Debian Edu girlies, and the date on it is December 2020 β mwah, slay, no notes ππ§
π¦ where this page comes from
- debian bookworm: debian-edu-config 2.12.46~deb12u1
- debian trixie: debian-edu-config 2.13.2~deb13u1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms