Which command is used to sort the lines of data in a file in alphabetical order?
sh
st
sort
sort -r
Correct Answer: C — sort
Explanation:
The sort command arranges the lines of text in alphabetical or numerical order by default.