path: root/man/gethostip.1
diff options
authorH. Peter Anvin <hpa@zytor.com>2007-12-18 15:55:10 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-12-18 15:56:50 -0800
commit8fd5e917a23b6ba2d1bf9128be3524ca8cf8ab34 (patch)
treed5046a4ccb5a2637b65a4b3e1ebaaf68bd31999d /man/gethostip.1
parent47b318940041cb713958d469a88b1859e14808b0 (diff)
Move doc files to doc/, and add man pages from Debian
Move all the text documentation to the doc/ directory, add man pages from the Debian syslinux package, and rename sys2ansi.pl to syslinux2ansi.pl.
Diffstat (limited to 'man/gethostip.1')
1 files changed, 45 insertions, 0 deletions
diff --git a/man/gethostip.1 b/man/gethostip.1
new file mode 100644
index 00000000..02081f1e
--- /dev/null
+++ b/man/gethostip.1
@@ -0,0 +1,45 @@
+gethostip \(em convert an IP address into various formats
+\fBgethostip\fR [\fB-dxnf\fP] [\fB\fIHOSTNAME|IP\fR\fP]
+This manual page documents briefly the
+\fBgethostip\fR command.
+The \fBgethostip\fR 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.
+A summary of options is included below.
+.IP "\fB-d\fP" 10
+Output the IP address in decimal format.
+.IP "\fB-x\fP" 10
+Output the IP address in hexadecimal format.
+.IP "\fB-n\fP" 10
+Output the host's canonical name.
+.IP "\fB-f\fP" 10
+Full output. Outputs the IP address in all supported formats.
+Same as \fB-xdn\fP.
+More details can be found in the pxelinux documentation, which
+can be found in
+\fB/usr/share/doc/syslinux/pxelinux.doc.gz\fP on
+\fBDebian GNU/Linux\fP systems.
+This manual page was compiled by dann frazier <dannf@debian.org> for
+the \fBDebian GNU/Linux\fP system (but may be used by others).