Question: In linux command For this assignment assume you are in a directory that contains the following 3 .txt files ... roster.txt region.txt sales.txt Use the
In linux command
For this assignment assume you are in a directory that contains the following 3 .txt files...
roster.txt region.txt sales.txt
Use the 3 files to answer the following questions. Just write out the commands by hand, these are imaginary files.
IsthereanyonefromanyfilewiththelastnameSmith?
Performawordcountonsales.txt
HowmanypeoplefromallfileshavealastnamethatstartR?
Produceasortedlistofallthelinesofdatathathavethewordpeoplefromthefiles that begins with the letter r.
ListthenamesofthefilesthatRileyMoyerappearsin.
Createasorteduniquelistofalldatafromallfilesandoutputyourgeneratedlisttoa new file called joined-list.txt
Createasorteduniquelistofallnamesfromallfilesofallthepeoplethathavealast name that begins with S, produce your output to both screen and a file called names.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
