You are viewing a single comment's thread. Return to all comments →
read -p "y" char
if [ "char" == "y" ]; then echo "YES" elif [ "char" == "n" ]; then echo "NO" fi
Seems like cookies are disabled on this browser, please enable them to open this website
Getting started with conditionals
You are viewing a single comment's thread. Return to all comments →
read -p "y" char
if [ "char" == "y" ]; then echo "YES" elif [ "char" == "n" ]; then echo "NO" fi