You're viewing a comment by Peteris Krumins and its responses.

December 04, 2008, 08:45

suresh, it does not work:

$ /sbin/ifconfig -a|grep inet|cut -d' ' -f2


Even if you meant ':', it does not work:

$ /sbin/ifconfig -a|grep inet|cut -d':' -f2
192.168.1.2  Bcast
127.0.0.1  Mask

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "antispam": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.