*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> getip (1m)              


 getip(1m)                Open Software Foundation                 getip(1m)

 NAME    [Toc]    [Back]
      getip - Gets a host's IP address

 SYNOPSIS    [Toc]    [Back]
      getip host

 ARGUMENTS    [Toc]    [Back]
      host      The host argument indicates the name of the machine whose IP
                address you want to obtain.

 DESCRIPTION    [Toc]    [Back]
      The getip command prints the IP address of the machine indicated in
      the host argument.  A machine may have more than one IP address
      associated with it; if so, getip prints one of the addresses.  If the
      command fails, it returns a status of 1.

      Functions: gethostbyname(3)

 Hewlett-Packard Company            - 1 -OSF DCE 1.1/HP DCE 1.8 PHSS_26394-96
[ Back ]
 Similar pages
Name OS Title
inet_lnaof Tru64 Translate an Internet address integer into its host (local) address component
getipnodebyaddr Tru64 Get a network host entry by address
gethostbyaddr_r Tru64 Get a network host entry by address
gethostbyaddr Tru64 Get a network host entry by address
sethostresorder IRIX specify order of host-address resolution services
resolver IRIX host-address resolver configuration file (DNS/NIS)
getipnodebyname Tru64 Get a network host entry by name for a specific address family
rcp Tru64 Copies files on the same host, between a local host and a remote host, and between two remote hosts
KSEG_TO_PHYS Tru64 General: Converts a kernel-unmapped virtual address to a physical address
inet_network Tru64 Translate an Internet dot-formatted address string to a network address integer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service