# コマンドラインでパスワードの入力を隠す print "password : " system "stty -echo" $pw = gets.chomp system "stty echo" print "\n"