You're viewing a comment by Kevin and its responses.

Kevin Permalink
September 01, 2008, 07:33

Here's a bash/grep version:

/sbin/ifconfig | grep "inet addr" | grep -v "ddr: " | while read a b c ; do echo $b ; done | ( IFS=':' ; while read a b ; do echo $b ; done )

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 "cdrom": (just to make sure you're a human)

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