bash read input and assign to variable code example
Example 1: input bash
# fullname="USER INPUT"
read -p "Enter fullname: " fullname
# user="USER INPUT"
read -p "Enter user: " user
Example 2: bash read input
echo "Synchronize repositories? Y/N"
read ANSWER