Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the shell scripting techniques, we have discussed, I want you to write a shell script (copy2dir.sh) which will copy a given file (passed as

image text in transcribed

Using the shell scripting techniques, we have discussed, I want you to write a shell script (copy2dir.sh) which will copy a given file (passed as the first parameter) into a set of folders within a directory. For example, if the user were to enter the command: ./copy2dir.sh testharness.txt amy bill bob cathy Kendra lisa monica nancy paul Robert steve Then the file testharness.txt would exist in each of these folders. There can be any number of destination directories. Your script does not have to be fail gracefully or handle error checking

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

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions

Question

LO3 Define the difference between job satisfaction and engagement.

Answered: 1 week ago