.\" Generated by kramdown-man 0.1.8 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-ip 1 "May 2022" Ronin "User Manuals" .LP .SH SYNOPSIS .LP .HP \fBronin ip\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIIP\fP \.\.\.\[rB] .LP .SH DESCRIPTION .LP .PP Queries or processes IP addresses\. .LP .SH ARGUMENTS .LP .TP \fIIP\fP An IP address argument to process\. .LP .SH OPTIONS .LP .TP \fB-f\fR, \fB--file\fR \fIFILE\fP The optional file to read values from\. .LP .TP \fB-P\fR, \fB--public\fR Gets the public IP address\. .LP .TP \fB-L\fR, \fB--local\fR Gets the local IP address\. .LP .TP \fB-r\fR, \fB--reverse\fR Prints the IP address in reverse name format\. .LP .TP \fB-X\fR, \fB--hex\fR Converts the IP address to hexadecimal format\. .LP .TP \fB-D\fR, \fB--decimal\fR Converts the IP address to decimal format\. .LP .TP \fB-O\fR, \fB--octal\fR Converts the IP address to octal format\. .LP .TP \fB-B\fR, \fB--binary\fR Converts the IP address to binary format\. .LP .TP \fB-C\fR, \fB--cidr\fR \fINETMASK\fP Converts the IP address into a CIDR range\. .LP .TP \fB-H\fR, \fB--host\fR Converts the IP address to a host name\. .LP .TP \fB-p\fR, \fB--port\fR \fIPORT\fP Appends the port number to each IP\. .LP .TP \fB-U\fR, \fB--uri\fR Converts the IP address into a URI\. .LP .TP \fB--uri-scheme\fR \fISCHEME\fP The scheme for the URI\. Defaults to \fBhttp\fR if not given\. .LP .TP \fB--uri-port\fR \fIPORT\fP The port for the URI\. .LP .TP \fB--uri-path\fR \[sl]\fIPATH\fP The absolute path for the URI\. Defaults to \fB/\fR if not given\. .LP .TP \fB--uri-query\fR \fISTRING\fP The query string for the URI\. .LP .TP \fB--http\fR Converts the IP address into a http:\[sl]\[sl] URI\. .LP .TP \fB--https\fR Converts the IP address into a https:\[sl]\[sl] URI\. .LP .TP \fB-h\fR, \fB--help\fR Print help information\. .LP .SH EXAMPLES .LP .PP Gets the machine\[cq]s public IP address: .LP .nf \[Do] ronin ip \-\-public .fi .LP .PP Gets the machine\[cq]s local network IP address: .LP .nf \[Do] ronin ip \-\-local .fi .LP .PP Converts the IP address(es) into unsigned integers: .LP .nf \[Do] ronin ip \-\-uint 1\.2\.3\.4 16909060 .fi .LP .PP Converts the IP address(es) into CIDR ranges: .LP .nf \[Do] ronin ip \-\-cidr 20 1\.2\.3\.4 1\.2\.0\.0\[sl]20 .fi .LP .PP Converts the IP address(es) into host names: .LP .nf \[Do] ronin ip \-\-host 192\.30\.255\.113 lb\-192\-30\-255\-113\-sea\.github\.com .fi .LP .SH AUTHOR .LP .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .LP