1.

The name of the input and output files cannot be same while using sort command.(a) True(b) FalseThis question was addressed to me in examination.This interesting question is from Sort Command in section Simple Filters of Unix

Answer»

The correct choice is (b) False

The best 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. And the interesting fact is, the name of the input and output file can be same. For EXAMPLE,



Discussion

No Comment Found

Related InterviewSolutions