ruby -e 'p Dir.glob("./*.zip").each {|f| system("unzip #{f}") }'

system("command")

とすると、コマンドが実行できる。