Answers for "bash read value"

1

read value in script

read -p "Enter your name : " name
echo $name
Posted by: Guest on November-25-2020
1

bash read input

echo "Synchronize repositories? Y/N"
read ANSWER
Posted by: Guest on July-25-2020
0

bash read value

# read into arbitrary new variable
read SOME_VARIABLE
echo $SOME_VARIABLE
Posted by: Guest on March-17-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language