Answer:
Step-by-step explanation:
The intent of the sort command is to order the file text content, alphabetically, line by line, or in reverse form if -r in front is used.
I would inquire from my friend if he's trying to write the output to a new file, if that is so then the out file has to be different.
E.G : sort May-2014> May-2014_output.
To check the output of the file they can use the "cat" command, this is unveil in the sorted data.
The command -o is disclosed if there is a need to specify the output file.
Example : sort -o May-2014_output May-2014.