Answered step by step
Verified Expert Solution
Link Copied!

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). image text in transcribed
The foloweng seript is meant to initialze the bash variable course to cs136c and then compare it to the first argument provided to the script. If the values macch the script should print found and if the values do not match, the script should print Not found. There are a number of syntac errors in the script. Fix the errors. To test the script, you can type the command to run in the Console Vew and then use the Execute Comard button. For example, Cwe type ./ conpare. st liel1s in the Console View and press Execute otamand the script should print Not Tound fif it has been fared Use the suamis cade button to attempt the question. There are unlimited attempts avalable

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions

Question

3. Write a policy statement to address these issues.

Answered: 1 week ago