Am 17.02.2005 um 01:32 schrieb
x-unix-request at listserver.themacintoshguy.com:
> Anyone know a slick one-liner in xterm to find out what ip address I'm
> assigned (i.e. Without having to go to System Prefrences)?
ifconfig -a | grep -w inet | grep -v ' 127' | awk '{print $2}'
(Similiarly for IPv6)
--
Greetings
Pete