Shell Logic
Conditional Logic
Case Switching Logic
case $INPUT_STRING in
y)
echo "Proceeding..."
;;
n)
echo "Quitting..."
;;
*)
echo "Please enter y or n"
;;
esac
case $INPUT_STRING in
y)
echo "Proceeding..."
;;
n)
echo "Quitting..."
;;
*)
echo "Please enter y or n"
;;
esac