シェルスクリプトでyn確認
read ans echo "Are You OK?" if [ $ans = "y" ] ; then echo "yes!!!!" else echo "quit."; exit fi