From: "Iñaki Baz Castillo" Date: 2011-05-12T04:33:09+09:00 Subject: Re: How to get the IPs of all the interfaces in my host? 2011/5/11 Eric Wong : >> 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. -- Iñaki Baz Castillo