this is my answer: cut famous.dat -c44-48,6-35 | sort -k3 -k2 | head -n15, why can't print this, thank you
Extracted 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
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here