You are viewing a single comment's thread. Return to all comments →
read input if [ $input = "Y" ] || [ $input = "y" ]; then echo YES else echo NO fi
Try this make sure the spaces are correct. There is a space after the key word "if". Get rid of the double equals "==".
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 →
Try this make sure the spaces are correct. There is a space after the key word "if". Get rid of the double equals "==".