Unix and Linux Discussions Tagged with address |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
7,130 |
Cybersecurity |
|
|
|
1 |
3,011 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
11,891 |
Cybersecurity |
|
|
|
4 |
7,801 |
What is on Your Mind? |
|
|
|
8 |
3,021 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,101 |
Programming |
|
|
|
1 |
4,323 |
Shell Programming and Scripting |
|
|
|
8 |
5,664 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,133 |
OS X Support RSS |
|
|
|
0 |
2,904 |
UNIX and Linux Applications |
|
|
|
4 |
12,998 |
UNIX and Linux Applications |
|
|
|
1 |
7,321 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,744 |
IP Networking |
|
|
|
3 |
35,082 |
OS X (Apple) |
|
|
|
3 |
9,318 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,466 |
IP Networking |
|
|
|
6 |
13,263 |
Solaris |
|
|
|
0 |
4,070 |
Programming |
|
|
|
1 |
4,251 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,378 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
5 |
20,127 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
9,336 |
Programming |
|
|
|
3 |
5,398 |
IP Networking |
|
|
|
4 |
7,701 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
13,858 |
IP Networking |
|
|
|
2 |
9,314 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
222,498 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
9,465 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
10,643 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
10,219 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
177,248 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
31,185 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,917 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
6,445 |
IP Networking |
|
|
|
1 |
5,544 |
IP Networking |
|
|
|
5 |
6,053 |
IP Networking |
|
|
|
2 |
3,033 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
11,673 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,928 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
4 |
7,222 |
IP Networking |
HOSTADDR(1) General Commands Manual HOSTADDR(1)
NAME
hostaddr - show ethernet address, IP address or hostname
SYNOPSIS
hostaddr [-eia] [-E eth-device] [-I ip-device]
DESCRIPTION
Without any of the -eia options, hostaddr shows the ethernet address, IP address and hostname of the local host on one line in the given
order. With options only the wanted fields are shown, still in the same order, not in option order.
OPTIONS
-e Show the ethernet address.
-i Show the IP address. This will not work if no IP address has been found by RARP or by setting it with ifconfig(8).
-a Show the fully qualified hostname. The IP address is shown again if it can't be translated to a host name. (This usually indicates
that the DNS reverse address translation tables are incomplete.)
SEE ALSO
ifconfig(8), rarpd(8), nonamed(8), set_net_default(8), boot(8).
DIAGNOSTICS
"Timeout"
Hostaddr timed out trying to get the IP address. This means that the network connection is out of order or that the setup of the machine
is bad.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
HOSTADDR(1)