source: trunk/minix/man/man1/hostaddr.1@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1.0 KB
Line 
1.TH HOSTADDR 1
2.SH NAME
3hostaddr \- show ethernet address, IP address or hostname
4.SH SYNOPSIS
5.B hostaddr
6.RB [ \-eiah ]
7.RB [ \-E
8.IR eth-device ]
9.RB [ \-I
10.IR ip-device ]
11.SH DESCRIPTION
12Without any of the
13.B \-eia
14options,
15.B hostaddr
16shows the ethernet address, IP address and hostname of the local host on one
17line in the given order. With options only the wanted fields are shown,
18still in the same order, not in option order.
19.SH OPTIONS
20.TP
21.B \-e
22Show the ethernet address.
23.TP
24.B \-i
25Show the IP address.
26.TP
27.B \-a
28Show the fully qualified hostname. The IP address is shown if it
29can't be translated to a host name. This usually indicates that the
30DNS reverse address translation tables are incomplete or that
31the name daemon couldn't be contacted.
32.TP
33.B \-h
34Set the hostname of the machine if the caller is the superuser. (Used at
35boot time by the network initialization scripts.)
36.SH "SEE ALSO"
37.BR ifconfig (8),
38.BR dhcpd (8),
39.BR nonamed (8),
40.BR inet (8),
41.BR boot (8).
42.SH AUTHOR
43Kees J. Bot (kjb@cs.vu.nl)
Note: See TracBrowser for help on using the repository browser.