Monday, 11 November 2013

Write a command that will output the sorted contents of a file named IN.TXT and place the output in another file named OUT.TXT, while at the same time excluding duplicate entries.

sort IN.TXT | uniq > OUT.TXT

No comments: