Question: Task # 2 . Write a shell script ( script 2 . sh ) , listing all the files and directories created in Task# 1

Task #2. Write a shell script (
script2.sh), listing all the files and directories created in Task#1(you may use 1s or find
command here),(1) to output a shell file (
script3.sh) which will delete all the files and directories when it is run, (2) to
run this output script (
script3.sh) to delete all the files and directories, and (3) to show all the deletion done (by listing all
the files and directories after the deletion - by showing that there is no files and directories).
Conv and naste vour chell sorint (sorint? sh) here
24 Conv and naste the output (
scrint3.sh) here
cs3377 Section
Name:
netID:
Submit two files (to be attached for your upload): (1) this word document with your answer and (2) a zip file (including
each shell script and its log of the run).
 Task #2. Write a shell script ( script2.sh), listing all the

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!