I am stuck at a test in Learn Bash by programming 5 programs.
The test says,
At the bottom of your script, use
Hello <name>.to the terminal.
So what I have done is
echo echo Hello \$NAME >> questionnaire.sh
which adds the echo Hello $NAME line at the end of the file. If I execute the questionnaire.sh file, it is running perfectly. Reading the input and also showing it.
But it is not passing the test. I don’t know what seems to be the problem. I have reset the tutorial multiple times. Resetting the tutorial, deletes the last line from the file, in this case echo Hello NAME line. Then I type the command again, but still not passing the test. I have added the line manually in the file and still it is not passing the test.
Please suggest any alternative. Stuck at it for the last 2 hours.