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

 Using the shell scripting techniques, we have discussed, I want you

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

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!