Question: On a Linux system, given a file named phonelist that contains a list of names and phone numbers in the format as shown in the
On a Linux system, given a file named "phonelist" that contains a list of names and phone numbers in the format as shown in the following example :
Smith, Tom 910.212.1212 Zhang,
Cynthia 910.521.6519
1) How can you find the phone number for Ace Electronics?
2) Which command can you use to display the entire file in alphabetical order?
3) How can you remove adjacent duplicate lines from the file?
4) How can you remove all duplicates?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
