Read following two commands: cat | sort sort < cat What is the diffrence between both the commands?

  1. First command will display the file in sorted order.But second result an error.

  2. Second command will display the file in sorted order.But first result an error.

  3. Both give the same result, Display the file in a sorted order.

  4. Both command will work but only first result in a sorted file.


Correct Option: C

Find more quizzes: