Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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).
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Presentations Approaches to Conveying Information

Answered: 1 week ago