
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN: 9780133594140
Author: James Kurose, Keith Ross
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
this is my answer: cut famous.dat -c44-48,6-35 | sort -k3 -k2 | head -n15, why can't print this, thank you

Transcribed Image Text:Task D: Using the fixed length field file called famous.dat, make a one-line Unix
command - using pipe(s) - to display a list of last name, first name and zip only. Sort first on the
zip code, then on last name when there are duplicate zip codes. To save on amount of output
produced, just display the first 15 lines of the output from the above, as the last command in the
pipe. Hint: zip codes are in columns 44 through 48.
Here is what the output should look like:
moose
bullwinkle
94111
franti
michael
94112
marley
bob
94112
richards
keith
94112
simone
nina
94112
einstein
albert
94113
russell
bertrand
94113
oliver
mary
94114
hanh
thịchNhat
94115
kropotkin
chomsky
peter
94115
noam
94116
squirrel
chapman
marley
rocketJ
94122
tracy
94211
rita
94212
black
mary
94221
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps

Knowledge Booster
Similar questions
- + enuity.com/Player/ emester A 4 5 Mark this and return M BO DELL A user is going to process an unspecified quantity of numbers. The desired result is to have the numbers ordered from smallest to largest. Which statement is true? Select three options. You could use a loop to add the numbers to a list, and then use an insertion sort to order the list. You could use a loop to add the numbers to a dictionary, and then use a built-in sort method to sort the dictionary. You could use a loop to ask the user for the numbers, adding them to a list. Then use the built-in sort method to order the list. You could use a loop to add numbers to a list. Then use a binary search to sort the list. You could use a spreadsheet to enter the numbers, and then use the spreadsheet sort method from the menu to sort the numbers. Save and Exit Next < English Sign out Kinley TIME REMAINING 57:01 Submit D Mar 27 12:0arrow_forwardPrint the two-dimensional list mult_table by row and column. On each line, each character is separated by a space. Hint: Use nested loops. Sample output with input: '1 2 3,2 46,3 6 9': 1 | 2 | 3 2 | 4 | 6 3 69 Learn how our autograder works 487180.3542414.qx3zqy7 1 user_input= input() 2 lines user_input.split(',') 3 4 # This line uses a construct called a list comprehension, introduced elsewhere, 5 # to convert the input string into a two-dimensional list. 6 # Ex: 1 2, 2 4 is converted to [ [1, 2], [2, 4]] 7 8 mult_table= [[int(num) for num in line.split()] for line in lines] 9 10arrow_forwardI have a computer science question Given list: ( 5, 8, 16, 25, 43, 48, 54, 59, 69, 78, 81, 96 ) Which list elements will be compared to key 43 using binary search? Enter elements in the order checked.arrow_forward
- Seq is a sequence object that can be imported from Biopython using the following statement: from Bio.Seq import Seq If my_seq is a Seq object, what is the correct Biopython code to print the reverse complement of my_seq? Hint. Use the built-in function help you find out the methods of the Seq object. print('reverse complement is %s' % complement(my_seq.reverse())) print('reverse complement is %s' % my_seq.reverse()) print('reverse complement is %s' % my_seq.reverse_complement()) print('reverse complement is %s' % reverse(my_seq.complement()))arrow_forwardIn python don't import librariesarrow_forwardWhat's wrong with this cell?arrow_forward
- What is the maximum number of elements that will be inspected if a sequential search of 4000 names is performed?arrow_forwardi just need answer not process please quickly thanks !arrow_forwardShow all the steps used by the procedure bubble sort in the notes to put the list 8,9,4,2,7 into increasing order.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY

Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON

Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education

Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY