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

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 is the directory name, is the day of the month (with a leading 0 if one digit), is the current month (with a leading zero if one digit) and

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!