From: Mark Thomas Date: 2009-12-24T02:55:06+09:00 Subject: Re: awk print $4 in ruby How about this? IO.popen('df -h').each_line do |line| fsarray = line.chomp.split puts fsarray[3] end