Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getip(8dce) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getip(8dce)  —  Maintenance

NAME

getip  — Gets a host’s IP address

SYNOPSIS

getip host

Arguments

hostThe 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 associated with it; if so, getip  prints one of the addresses.  If the command fails, it returns a status of 1. 

Errors

A representative list of errors that might be returned is not shown here.  Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages. 

Related Information

Functions: gethostbyname(3). 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026