From: Heinrich Piard Date: 2008-04-18T06:04:39+09:00 Subject: system(ping) Hi, any idea how I can hand over each object of the array ip_list to the system(ping) ? Here the code: ip_list = ['192.168.1.1' , '192.168.1.2' , '192.168.1.3' , '192.168.1.4' , '192.168.1.5' , '192.168.1.6' , '192.168.1.7' ] ip_list.each do |host| system('ping -c 5' + host) end bye Henry -- Posted via http://www.ruby-forum.com/.