Question: Linux/Unix egrep/grep Using names.txt (its just a linux text file with a list of names and addresses) Find all entries of people who live in

 Linux/Unix egrep/grep Using names.txt (its just a linux text file with

Linux/Unix egrep/grep

  1. Using names.txt (its just a linux text file with a list of names and addresses)
    1. Find all entries of people who live in cities whose names are multiple words.
    2. Find all entries of people whose cities (if given) are at least 8 letters long. Make sure you do not just search for sequences of 8 letters as this could also get last names.
    3. Find all entries of people who have middle initials.
    4. Find all entries of people whose zip code has 22 in it. NOTE: this should not include Mike Keneally whose street address includes 22.
    5. Find all entries of people who have complete addresses (including street number and name, city, state and zip code).

[Student@cent0S6Template 1$ cat names.txt Bianca K. Jones, 612 Charles Blvd, Louisville, KY 40568 Frank Zappa, 101 Hot Rats Blvd, Los Angeles, CA 90125 George Duke, 44 Ivory Pl Apt 6, San Diego, CA 93241 Ian I. Underwood, 61 Brown St, Chicago, IL 63112 Mike Keneally, 2242 Sluggo Dr #6, Orange County, CA 90551 Pamela C. Barnes, 12 Caster Ln, Los Angeles, CA 90221 Ruth Underwood, 16161 Mallet St, Mariemont, 0H 42522 Suzie Creamcheese, 999 Lark Towne Ave, San Obispo, CA 91100 Terry T. Bozzio, 86 Meadowland Dr, New York, NY 06386 [Student@cent0S6Template 1$ cat names.txt Bianca K. Jones, 612 Charles Blvd, Louisville, KY 40568 Frank Zappa, 101 Hot Rats Blvd, Los Angeles, CA 90125 George Duke, 44 Ivory Pl Apt 6, San Diego, CA 93241 Ian I. Underwood, 61 Brown St, Chicago, IL 63112 Mike Keneally, 2242 Sluggo Dr #6, Orange County, CA 90551 Pamela C. Barnes, 12 Caster Ln, Los Angeles, CA 90221 Ruth Underwood, 16161 Mallet St, Mariemont, 0H 42522 Suzie Creamcheese, 999 Lark Towne Ave, San Obispo, CA 91100 Terry T. Bozzio, 86 Meadowland Dr, New York, NY 06386

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!