The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 04-28-2006
buffoonix buffoonix is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 145
On most Unices (except for Linux)

netstat -in

will show you IP addresses bound to plumbed NICs.

If you know the NIC's device name you could also use (e.g. en0 on a PowerPC)

ifconfig en0

I assumed you meant the box'es own IP address(es).
Otherwise query a name service with tools like nslookup.