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.

  1. IsthereanyonefromanyfilewiththelastnameSmith?

  2. Performawordcountonsales.txt

  3. HowmanypeoplefromallfileshavealastnamethatstartR?

  4. Produceasortedlistofallthelinesofdatathathavethewordpeoplefromthefiles that begins with the letter r.

  5. ListthenamesofthefilesthatRileyMoyerappearsin.

  6. Createasorteduniquelistofalldatafromallfilesandoutputyourgeneratedlisttoa new file called joined-list.txt

  7. 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

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!