linux user input 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
# fullname="USER INPUT"
read -p "Enter fullname: " fullname
# user="USER INPUT"
read -p "Enter user: " user
echo "Synchronize repositories? Y/N"
read ANSWER