Which option is used by the sort command to redirect the output to a specified file?

Which option is used by the sort command to redirect the output to a specified file?
A. -n
B. -t
C. -o
D. -u
 
Answer: c
Explanation: Even though we can redirect the output of sort to a file, we can also use its -o option for specifying the output file. For example,
Code:
$ sort  -o  sortedlist  -k  3  shortlist        // output stored in sortedlist
 

Tìm kiếm

Back
Top