bpwhoami.1   [plain text]


.\" Copyright (c) 1997, Apple Computer, Inc.  All rights reserved.
.\"
.Dd August 7, 1997
.Dt BPWHOAMI 1
.Os Mac OS X
.Sh NAME
.Nm bpwhoami
.Nd print the output of a bootparams whoami call
.Sh SYNOPSIS
.Nm bpwhoami
.Sh DESCRIPTION
This command makes a bootparams whoami call and echos the results to
stdout. The output is of the form:
.Pp
HOSTNAME=<hostname>
DOMAIN=<nis domain name>
ROUTER=<router ip address>
SERVER=<server ip address>
.Sh SEE ALSO
.Xr bootparams  5
.Xr bootparamd 8
.Sh DIAGNOSTICS
.Nm bpwhoami
exits with one of the following values:
.Bl -tag -width Ds -compact
.It 0
Successfully retrieved information.
.It 1
RPC timed out while attempting to retrieve information.
.It 2
Unrecoverable error.
.El