Trying to learn how to write a unix shell script. Using cygwin. When executing the
script, I get an error that reads
line 11 command not found
If I enter the text that makes the statement true, the script does not error, if the input is
false, I receive an error line 11 command not found. Below is the code.
# Script Name:lscript
echo "What is your name ?"
if $name ='test'
echo "Same Name"
echo "Different Name"