logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gethostip — convert an IP address into various formats

Author

       This manual page was compiled by dann frazier <dannf@debian.org> for the DebianGNU/Linux system (but may
       be used by others).

                                                                                                    GETHOSTIP(1)

Description

       This manual page documents briefly the gethostip command.

       The  gethostip  utility converts the given hostname or IP address into a variety formats.  It is provided
       by the syslinux package to make it easier to calculate the appropriate names for  pxelinux  configuration
       files.   These  filenames  can  be  the  complete hexadecimal representation for a given IP address, or a
       partial hexadecimal representation to match a range of IP addresses.

Name

       gethostip — convert an IP address into various formats

Options

       A summary of options is included below.

       -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.

See Also

syslinux(1)

       More   details   can   be   found   in   the   pxelinux   documentation,   which   can   be   found    in
       /usr/share/doc/syslinux/pxelinux.doc.gz on DebianGNU/Linux systems.

Synopsis

gethostip [-dxnf]  [HOSTNAME|IP]

See Also