From: Eric Wong Date: 2011-05-12T04:17:23+09:00 Subject: Re: How to get the IPs of all the interfaces in my host? I単aki Baz Castillo wrote: > Hi, basically I'm looking for a way to find all the IP's in the > network interfaces of my computer in a reliable way. > 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 -- Eric Wong