Learn Bash Scripting by Building Five Programs
After your read
command, use your new variable to print the next question.
-
Use
echo
to print the variable -
Add
echo $QUESTION2
below yourread
command
Your script should “echo” the suggested variable correctly
QUESTION1=“What’s your name?”
echo $QUESTION1
read NAME
echo Hello $NAME.
QUESTION2=“Where are you from?”
echo $QUESTION2
read LAND
echo $LAND
this is not advancing to the next task. what is needed here or what’s wrong here?