read input to a variable bash linux code example Example: bash read input echo "Synchronize repositories? Y/N" read ANSWER