01 / 07
Joining without going through a file
The way you have done it so far, combining two tools needed a file.
sort fruit.txt > temp.txtuniq temp.txtrm temp.txtMake somewhere to put it, use it, tidy it away. A nuisance, and thinking up the name is wasted effort.
With a pipe (|) you join them directly, with no file at all.
sort fruit.txt | uniq