Unix

1:

 If the command cat x is executed after successfully executing the command time sort  filename > x, then

A. only the time details will be displayed
B. only the sorted contents of the file filename will be displayed
C. an error message will be displayed
D. None of the above
 

Answer : B

Explanation :
The time command uses stderr, instead of stdout to display its results. As a result of this. what is redirected to x is just the output of sort filename command and not the time details. The time details will he displayed in the screen, since screen by default is the stderr

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.