#!/bin/bash echo -n 'Would you like to add an FTP login for this web? [Yn]: ' read ANS ANS=`echo $ANS | tr a-z A-Z` if [ "$ANS"="Y" ] then echo "$ANS - Yes" # debugging else echo "$ANS - No" # debugging fi