Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following script is meant to initialize the bash variable course to CS136L and then compare it to the first argument provided to the script.
The following script is meant to initialize the bash variable course to CS136L and then compare it to the first argument provided to the script. If the values match, the script should print Found and if the values do not match, the script should print Not Found. There are a number of syntax errors in the script. Fix the errors. To test the script, you can type the command to run in the Console View and then use the Execute Command button. For example, if we type ./compare.sh Hello in the Console View and press Execute Command the script should print Not Found (if it has been fixed).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started