A shell example in Ruby