Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which command of DOS is used to sort the file in reverse order?

  • A.SORT > filename
  • B.SORT < filename
  • C.SORT/R < filename
  • D.SORT/V < filename
  • E.None of the above

Answer: C

Correct answer: SORT/R < filename

The /R switch makes SORT order the lines in reverse, and the file is fed in with < because SORT is a filter that reads standard input.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.