diff options
-rw-r--r-- | src/ipcalc.1 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ipcalc.1 b/src/ipcalc.1 new file mode 100644 index 00000000..782f8f8e --- /dev/null +++ b/src/ipcalc.1 @@ -0,0 +1,29 @@ +.TH IPCALC 1 "Red Hat Software" "RHS" \" -*- nroff -*- +.SH NAME +ipcalc \- perform simple manipulation of ip addresses +.SH SYNOPSIS +.B ipcalc +\fI[--hostname] [--broadcast] [--netmask] \fBip \fI[netmask]\fR + +.SH DESCRIPTION +\fBipcalc\fR provides a simple way to find the broadcast address, netmask, +or hostname for a given IP address and netmask (no netmask is needed if +only the hostname is requested). The various options specify what information +\fBipcalc\fR should display on standard out. Multiple options may be +specified. + +.SH OPTIONS +.TP +.IP \fI--broadcast\fR +Display the broadcast address for the given ip address and netmask. + +.IP \fI--hostname\fR +Display the hostname for the given ip address. + +.IP \fI--network\fR +Display the network address for the given ip address and netmask. + +.SH AUTHOR +.nf +Erik Troan <ewt@redhat.com> +.fi |