[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to get an IP address



Hi, 

I know how to get an IP address *info* using dig, but has anyone looked 
into how to get *only* the IP address? so that I can use, eg.

 the_ip=`get_ip host`

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: