Question: You are required to design a simple management shell script that allows users to perform various operations within the current directory. The user should choose

You are required to design a simple management shell script that allows users to perform various
operations within the current directory. The user should choose one of the following from a
menu[2]:
1. Create a New File:[2]
. Ask the user to enter the name of a new file.
. Create the file in the directory.
2. Delete an Existing File: [2]
. Ask the user to enter the name of a file they want to delete.
. Confirm the deletion with the user before removing the file.
3. List All Files in the Directory: [2]
. Display a list of all files in the directory.
4. Exit the Script: [2]
. Allow the user to exit the script.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!