Question: This assignment involves the creation of two shell scripts on the COE machines. Please be ready to show a working demo of these scripts to

 This assignment involves the creation of two shell scripts on the

This assignment involves the creation of two shell scripts on the COE machines. Please be ready to show a working demo of these scripts to the Teaching Assistants. Attach the scripts to your report submission with the file names specified below. a) Write a shell script named CombineFiles.sh that takes three file names as arguments: , , and . The script should read the content of files and , and combine them into a new file called . For example, running $ ./CombineFiles.sh new.txt/etc/passwd message.txt will combine the content of files/etc/passwd and message.txt -file message.txt must exist- into a new file named new.txt. Attach script CombineFiles.sh in your lab submission on Blackboard. b) Write a shell script named wc2.sh that takes two file names as arguments. The script should count the number of lines, words, and characters adding up both files. You can invoke script CombineFiles.sh from here, or you can find an alternative strategy. Attach script wc2.sh in your lab submission on Blackboard

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!