Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Now write another script fin 2 . sh . This script does not accept command line options or parameters. Instead it prompts and reads

Now write another script "fin2.sh". This script does not accept command line options or parameters. Instead it prompts and reads user input from stdin. Proper use of the read command is expected. "fin2.sh" needs to accept an additional option "q". The script should repeatedly prompt the user to choose one option to run. Once the user types "q", "fin2.sh" should stop and exit. The other acceptable options in "fin2.sh" are "e","f" and "h", which are exactly the same as those in "fin1.sh" and call the appropriate 10.5 lab script. For any unrecognized option value, print an error message.
Note: "fin2.sh" may needs to have a completely different way to take inputs. Instead of taking options and parameters from the command line, prompt the user for these values using appropriate commands.
Be sure to upload an executable ASCII file. Screenshots will not be accepted.

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

Database Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

More Books

Students also viewed these Databases questions

Question

Connect with your audience

Answered: 1 week ago