Question: Create a bash shell script that will take two files as arguments. The first file will have list of names and the other file will
Create a bash shell script that will take two files as arguments. The first file will have list of names and the other file will be subset of the other.
Ex: File1
Todd
clara
dean
paul
rambo
john cena
File2: subset of file 1 ( some of file 1)
clara
dean
cena
The output of this script will be:
Todd
paul
rambo
john
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
