2011/5/11 Eric Wong <normalperson / yhbt.net>:
>> Is there something as "ifconfig" or "ip addr show" commands for Ruby?
>> Thanks a lot.
>
> in Ruby 1.9.2:
>
> require 'socket'
> Socket.ip_address_list

Amazing! I knew nothing about it :)

Thanks a lot.

-- 
Iaki Baz Castillo
<ibc / aliax.net>