Question: 1. Create a UNIX command line that shows the count of the number of people in phones.dat with a phone number in the 757 area

 1. Create a UNIX command line that shows the count of

1. Create a UNIX command line that shows the count of the number of people in phones.dat with a phone number in the 757 area code. Based on the sample phoneList.dat file, your output should be: 3 Note that you can't just echo the number shown in the sample phones.dat file like this: $ echo "3" 3 This echo would not work correctly for any data file of this same format. Another data file of the same format but with different contents might have 8,500 phone numbers in the 757 area code; another file might have 0. Figure out a command line that will come up with the right count for the number of phone numbers in the area code 757 no matter the contents of phones.dat. (You can assume that the file name is phoneList.dat and that you are searching for the 757 area code when you make your command line.) Hint: you can use piping and grep command to get this done

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!