Question: This is supposed to be done using bash in linux. From the tutorial on variables I want you to use the example of the command

This is supposed to be done using bash in linux.

This is supposed to be done using bash in linux. From the

From the tutorial on variables I want you to use the example of the command line arguments to build build script which will copy a file into a new directory that is created by the script. Your script will need to take in 2 arguments just like the example. Argument 1 is the name of the new directory where the coppied file will go. Argument 2 is the file to be coppied. Argument 3 is the name of the new file. Notice the example below! I created a script called copies.sh and the first argument is the new directory "newDir". The second argument is the file to be copied "test.txt". The thrid argument is the copied files name "test2.txt". cisstudentdCISVM:/bash_files$ ./copies.sh newDir test.txt test2.txt cisstudent@CISVM:-/bash files$ ls copies.sh name.sh newDir test.txt cisstudent@CISVM:~/bash files $ cd newDir/ cisstudent@CISVM: -/bash_filesewDir$ ls test2.txt cisstudent@CISVM:-/bash_filesewDir$ |

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!