Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a BASH shell script named lab11_ex3 that displays the following menu and prompts for one-character (lowercase or upper case) input to invoke a menu

Write a BASH shell script named lab11_ex3 that displays the following menu and prompts for one-character (lowercase or upper case) input to invoke a menu option, as shown:

(A|a) List all files in a given directory. User should be prompt to enter absolute path of that directory.

(B|b) Display whether a file in present working directory is an ordinary file or a directory. If it is a file, it will create a backup copy of a file with extension .bk

(C|c) Test status of communication with a host provided by user using ping command

(Q|q) Exit

The program should allow the user to try any option any number of times and should quit only when the user gives menu option q or Q for Exit

I don't know why show those lost images, but are not neccesary.

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

Step: 3

blur-text-image

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

Data Management Databases And Organizations

Authors: Watson Watson

5th Edition

0471715360, 978-0471715368

More Books

Students also viewed these Databases questions

Question

Who can claim the DPAD? Which taxpayers are more likely to use it?

Answered: 1 week ago

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago