Question: What does the following command do: sort file1 file2 Creates a sorted output consisting of the lines from file1 andfile2, merged together in ASCII order.
What does the following command do: sort file1 file2
Creates a sorted output consisting of the lines from file1 andfile2, merged together in ASCII order.
The output is displayed on the screen.
Creates an error message. file1 and file2 create a file calledsort.
The input of file1 is piped to file sort, creating file2.
This command only works in the korn and C shell.
Step by Step Solution
3.48 Rating (151 Votes )
There are 3 Steps involved in it
Answer The command sorts the lines from file1 and file2 and displays the output on the screen in ASCII order Explanation The sort command is a very us... View full answer
Get step-by-step solutions from verified subject matter experts
