GETHOSTIP(1)
π GETHOSTIP π
okay so bestie, welcome to the gethostip(1) glow-up β¨ this is a page from the General Commands Manual section of your friendly neighbourhood Unix docs, and we're about to make it make sense fr fr π«Ά
πΈ NAME πΈ
gethostip β convert an IP address into various formats π
π¦ SYNOPSIS π¦
gethostip [-dxnf] [HOSTNAME|IP]
π DESCRIPTION π
This manual page documents briefly the gethostip command. Yes, briefly β it said what it said π
The gethostip utility converts the given hostname or IP address into a variety of formats. It is provided by the syslinux package, and its whole reason for existing is to make it easier to calculate the appropriate names for pxelinux configuration files π
And these filenames? They can be:
- the complete hexadecimal representation for a given IP address, or
- a partial hexadecimal representation to match a range of IP addresses π
so basically it's the β¨main characterβ¨ of pxelinux filename math, no cap.
β¨ OPTIONS β¨
A summary of options is included below. Yes bestie, we're listing every single one, we don't skip π
-dβ Output the IP address in decimal format.-xβ Output the IP address in hexadecimal format.-nβ Output the host's canonical name.-fβ Full output. Outputs the IP address in all supported formats. Same as-xdn. It's giving the whole menu, not just the appetiser π
ngl,-fis literally just-xdnwith a cuter outfit. same energy, same output.
π SEE ALSO π
More details can be found in the pxelinux documentation, which can be found in /usr/share/doc/syslinux/pxelinux.doc.gz on Debian GNU/Linux systems. go read it, iykyk πβ¨
π§ AUTHOR π§
This manual page was compiled by dann frazier <dannf@debian.org> for the Debian GNU/Linux system (but may be used by others). iconic of them, honestly π
and that's the whole page bestie, we ate and left no crumbs π
π mwah! this was GETHOSTIP(1) from the General Commands Manual β compiled for Debian GNU/Linux, and yes, it slays π¦πΈβ¨
π¦ where this page comes from
- alpine 3.22: syslinux-doc 6.04_pre1-r16 Β· GPL-2.0-or-later
- alpine 3.23: syslinux-doc 6.04_pre1-r19 Β· GPL-2.0-or-later
- alpine 3.24: syslinux-doc 6.04_pre1-r19 Β· GPL-2.0-or-later
- arch rolling: syslinux 6.04.pre3.r3.g05ac953c-5 Β· GPL-2.0-or-later
- centos-stream 10: syslinux 6.04-0.35.el10 Β· GPL-2.0-or-later
- centos-stream 9: syslinux 6.04-0.24.el9 Β· GPLv2+
- debian bookworm: syslinux-utils 3:6.04~git20190206.bf6db5b4+dfsg1-3+b1 Β· GPL-2.0-or-later
- debian trixie: syslinux-utils 3:6.04~git20190206.bf6db5b4+dfsg1-3.1 Β· GPL-2.0-or-later
- fedora 43: syslinux 6.04-0.33.fc43 Β· GPL-2.0-or-later
- fedora 44: syslinux 6.04-0.35.fc44 Β· GPL-2.0-or-later
- fedora 44: syslinux 6.04-0.37.fc44 Β· GPL-2.0-or-later
- nixpkgs unstable: syslinux 6.04-pre2-unstable-2019-02-07
- opensuse-leap 16.0: syslinux 4.04-160000.3.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: syslinux-x86_64 4.04-160000.3.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: syslinux-x86_64 4.04-160000.3.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: syslinux-x86_64 4.04-160000.3.1 Β· GPL-2.0-or-later
- ubuntu jammy: syslinux-utils 3:6.04~git20190206.bf6db5b4+dfsg1-3ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: syslinux-utils 3:6.04~git20190206.bf6db5b4+dfsg1-3ubuntu3 Β· GPL-2.0-or-later
- ubuntu questing: syslinux-utils 3:6.04~git20190206.bf6db5b4+dfsg1-3.1ubuntu1
- ubuntu resolute: syslinux-utils 3:6.04~git20190206.bf6db5b4+dfsg1-3.2ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: syslinux-utils 3:6.04~git20190206.bf6db5b4+dfsg1-3.2ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms