ExamVeda
Login
Home
This question belongs to Computer Science Unix
Unix
?

Which command is used to sort the lines of data in a file in reverse order

Answer & Solution
Correct Answer: Option D
In Unix, the sort command is used to sort the lines of data in a file. By adding the -r option to the sort command, you can sort the lines in reverse order.
So, sort -r is the correct command to sort the lines of data in a file in reverse order.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.