Question: 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)

 Task #2. Write a shell script (script2.sh), listing all the files

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). Copy and paste your shell script (script2.sh) here ______________ Copy and paste the output (script3.sh) here ___________ Copy and paste the output of script2.sh run. _____________

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!