Given the following file things Peaches Apples Strawberries
Given the following file things: Peaches Apples Strawberries Grapes Oranges Apples Peaches Melon (0.25/correct entry) (a) What are the contents of the file fruits after the following command: sort things > fruits (1 point all or nothing) (b) What would be the contents of the file fruits after the following command: uniq -d fruits > fruits
Solution
a)
 Apples Apples Grapes Melon Oranges Peaches Peaches Strawberries
b)
 Peaches Apples Strawberries Grapes Oranges Melon

