Richard, the bash shell script I used to do that was the following:
/sbin/ifconfig eth0 |grep inet |cut -d ' ' -f12 | cut -d ':' -f2 This may not be generic, and you may have to fine-tune it to work for you, but it should give you the basic premise... Chris Weyn, Austin TX
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]