Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started