|
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.
|