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:
Create a New File:
Ask the user to enter the name of a new file.
Create the file in the directory.
Delete an Existing File:
Ask the user to enter the name of a file they want to delete.
Confirm the deletion with the user before removing the file.
List All Files in the Directory:
Display a list of all files in the directory.
Exit the Script:
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
