read user input in shell script code example
Example 1: bash read input
echo "Synchronize repositories? Y/N"
read ANSWER
Example 2: Select the command to read the input from the User in shell scripting?
read <variable>
echo "Synchronize repositories? Y/N"
read ANSWER
read <variable>