Unix and Linux Discussions Tagged with ip address |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
7,130 |
Cybersecurity |
|
|
|
6 |
8,804 |
Shell Programming and Scripting |
|
|
|
7 |
11,891 |
Cybersecurity |
|
|
|
2 |
2,890 |
UNIX for Beginners Questions & Answers |
|
|
|
16 |
7,427 |
What is on Your Mind? |
|
|
|
5 |
7,651 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
3,204 |
Shell Programming and Scripting |
|
|
|
4 |
4,595 |
Shell Programming and Scripting |
|
|
|
2 |
2,304 |
IP Networking |
|
|
|
10 |
7,847 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
11,751 |
IP Networking |
|
|
|
0 |
3,067 |
UNIX for Advanced & Expert Users |
|
|
|
29 |
23,027 |
Solaris |
|
|
|
2 |
3,888 |
Shell Programming and Scripting |
|
|
|
6 |
25,437 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
16,024 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
7,358 |
Solaris |
|
|
|
1 |
10,975 |
Shell Programming and Scripting |
|
|
|
0 |
5,189 |
UNIX and Linux Applications |
|
|
|
3 |
10,121 |
Shell Programming and Scripting |
|
|
|
2 |
4,823 |
Linux |
|
|
|
4 |
3,590 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,967 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,464 |
Linux |
|
|
|
3 |
22,251 |
IP Networking |
|
|
|
6 |
51,072 |
Solaris |
|
|
|
2 |
4,392 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
23,256 |
OS X (Apple) |
|
|
|
5 |
5,598 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
10,944 |
AIX |
|
|
|
9 |
20,252 |
UNIX for Dummies Questions & Answers |
|
|
|
15 |
45,521 |
IP Networking |
|
|
|
2 |
2,433 |
Shell Programming and Scripting |
|
|
|
4 |
12,998 |
UNIX and Linux Applications |
|
|
|
2 |
14,328 |
Shell Programming and Scripting |
|
|
|
3 |
3,986 |
Shell Programming and Scripting |
|
|
|
7 |
10,361 |
Solaris |
|
|
|
9 |
7,070 |
Solaris |
|
|
|
3 |
5,950 |
Shell Programming and Scripting |
|
|
|
2 |
6,905 |
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)