1.

Which option is used by the sort command to redirect the output to a specified file?(a) -n(b) -t(c) -o(d) -uThis question was posed to me by my school principal while I was bunking the class.This interesting question is from Sort Command topic in chapter Simple Filters of Unix

Answer»

Correct choice is (c) -o

The 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,



Discussion

No Comment Found

Related InterviewSolutions