Question: Write a single command that will do the following: Combine the contents of the files foo1.txt, foo2.txt, and foo3.txt Sort the combined output Delete any
Write a single command that will do the following:
Combine the contents of the files foo1.txt, foo2.txt, and foo3.txt Sort the combined output Delete any duplicate lines Output the sorted result to a file called sorted.txt You will need to use a couple of pipes and redirect your output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
