hpux man page for getip

Query: getip

OS: hpux

Section: 1m

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

getip(1m)																 getip(1m)

NAME
getip - Gets a host's IP address
SYNOPSIS
getip host
ARGUMENTS
The host argument indicates the name of the machine whose IP address you want to obtain.
DESCRIPTION
The getip command prints the IP address of the machine indicated in the host argument. A machine may have more than one IP address associ- ated with it; if so, getip prints one of the addresses. If the command fails, it returns a status of 1.
RELATED INFORMATION
Functions: gethostbyname(3) getip(1m)
Related Man Pages
avahi-resolve-host-name(1) - centos
sethostname(2) - osf1
inet_lnaof(3) - osf1
atmhosts(4) - osf1
avahi-resolve(1) - linux
Similar Topics in the Unix Linux Community
sed OR-Operation
ipnodes v hosts
How to Find another IP address
Bash arrays that compare ip addresses.
How can I do this better?