Question: CS2211 Software Tools and Svstems Question 4 (22 Marks) Write a bash shell script named dobackup.sh that takes no arguments. When run, this shell script

CS2211 Software Tools and Svstems Question 4 (22 Marks) Write a bash shell script named dobackup.sh that takes no arguments. When run, this shell script will display a list of the directories (and only the directories) in the current working directory with a number beside each. For example, if the current working directory was usr the output might look like this: 1) bin 2) etc 3) games 4) include 5) lib 6) lib64 7) libexec 8) loca.l 9) sbin 10) share 11) sre 12) tmp Your script should then ask the user to enter a number from the menu and make an archive of this directory in the current working directory using the tar command. We did not go over the tar command in class, so it is up to you to read the man page for tar. You do not need to use Your script should name the tar file: where
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
