On the off chance that anybody is interested, the following will print out the IP address of "eth0" on a Linux machine.
/sbin/ifconfig eth0 | awk 'BEGIN {FS="[: ]+"} ;/ inet addr:/ {print $4}' If you have Cygwin on your Windows box: ipconfig | awk '/IP Address/ {print $NF}' -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html