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

Re: How to get an IP address



On Mon, 14 Nov 2011 16:44:48 +0000, T o n g wrote:

> how to get *only* the IP address?

Thanks everyone for your comprehensive answers. Now a related question, 
how to get *only* the IP address of my current Intranet address 
192.168...?

Is there easier answers than analysing results from the following?

 ifconfig eth0
 ip addr
 ip -f inet addr

Thanks

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


Reply to: