Q:

bash read input

#!/bin/bash
read -p "give input! " STOREDVAR
echo $STOREDVAR
1
echo "Synchronize repositories? Y/N"
read ANSWER
1

New to Communities?

Join the community