Unix and Linux Discussions Tagged with address |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
4,920 |
Cybersecurity |
|
|
|
1 |
2,001 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
7,813 |
Cybersecurity |
|
|
|
4 |
6,573 |
What is on Your Mind? |
|
|
|
8 |
2,235 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,413 |
Programming |
|
|
|
1 |
4,092 |
Shell Programming and Scripting |
|
|
|
8 |
4,600 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,028 |
OS X Support RSS |
|
|
|
0 |
2,153 |
UNIX and Linux Applications |
|
|
|
4 |
11,489 |
UNIX and Linux Applications |
|
|
|
1 |
7,052 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,102 |
IP Networking |
|
|
|
3 |
33,922 |
OS X (Apple) |
|
|
|
3 |
9,079 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
2,969 |
IP Networking |
|
|
|
6 |
13,121 |
Solaris |
|
|
|
0 |
3,781 |
Programming |
|
|
|
1 |
4,098 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,134 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
5 |
19,671 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
8,765 |
Programming |
|
|
|
3 |
4,862 |
IP Networking |
|
|
|
4 |
7,304 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
13,271 |
IP Networking |
|
|
|
2 |
9,109 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
221,866 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
9,272 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
10,253 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
9,761 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
173,429 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
29,719 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,445 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
5,773 |
IP Networking |
|
|
|
1 |
4,889 |
IP Networking |
|
|
|
5 |
5,276 |
IP Networking |
|
|
|
2 |
2,843 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
11,085 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,643 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
4 |
6,531 |
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)