Computer science question sortuniq commands Given the follow

Computer science question! sort/uniq commands

Given the following file things. Peaches Apples Strawberries Grapes Oranges Apples Peaches Melon (0.25/correct entry) What are the contents of the file fruits after the following command: sort things > fruits (1 point all or nothing) 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

Computer science question! sort/uniq commands Given the following file things. Peaches Apples Strawberries Grapes Oranges Apples Peaches Melon (0.25/correct ent

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site