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

1 Expert Approved Answer
Step: 1 Unlock

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

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!