Question: Write a bash script that will implement menus using dialog. Create function for each action, e.g. To show calendar on screen, create function show_calender() Your

Write a bash script that will implement menus using dialog. Create function for each action, e.g. To show calendar on screen, create function show_calender() Your bash script should show the following: Menu-Item Date/time Purpose To see current date and time Calendar To see current calendar Delete To delete selected file Action for Menu-item Date and time must be shown using infobox of dialog utility or otherwise Calendar must be shown using infobox of dialog utility or otherwise and it should have the flexibility of choosing any particular date from the calendar to add any relevant information if needed. First ask user name of directory where all the files are present, if no name of directory given assumes current directory, then show all files only of that directory. Files must be shown on screen using menus of dialog utility or otherwise. Let the user select the file, then ask the confirmation to user whether he/she wants to delete the selected file, if answer is yes then delete the file, report errors if any while deleting file to user. Exit/Stops the menu driven program i.e. Exit To Exit this shell script this script
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
