- Open the Linux or Unix shell
if you are utilizing a GUI interface for your Linux or Unix
machine. - From the prompt, type
"ifconfig eth0"
(without the quotes) and press enter. This should give you a
listing of network information similar to what is seen below.
Linux / Unix, BSD 4.2+, and Apple OS X,
Operating System Users
For Linux or Unix users, to view their IP address or network
information, users must have administrator or root privileges.
eth0 Link encap:Ethernet HWaddr 00:A0:24:72:EB:0A
inet addr:10.10.10.2 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5569799 errors:32 dropped:32 overruns:0 frame:6
TX packets:3548292 errors:0 dropped:0 overruns:0 carrier:3
Collisions:14
Interrupt:18 Base address:0xda00
As seen from the above example, users will commonly see the
network settings for all their network devices when running the
"ifconfig" command. First in the above example we have the
network settings for the "lo" or "local
loopback", next is the actual network settings of your network
adapter.
Home network and corporate network users
This information is the IP address of your computer
in your network. If you're computer is connected to the Internet the
IP address shown in this screen will more than likely not be
the IP address other people and web pages see. To determine this IP
address easily see the below online service section.




