1.

Consider the following UNIX command:sort < in > temp; head -30 < temp; rm tempWhich of the following functions shall be performed by this command?

A. Sort, taking the input from "temp", prints 30 lines from temp and delete the file temp
B. Sort the file "temp", removes 30 lines from temp and delete the file temp
C. Sort, taking the input from "in" and writing the output to "temp" then prints 30 lines from temp on terminal. Finally "temp" is removed
D. Sort, taking the input from 'temp" and then prints 30 lines from "temp" on terminal. Finally "temp" is removed
Answer» D. Sort, taking the input from 'temp" and then prints 30 lines from "temp" on terminal. Finally "temp" is removed


Discussion

No Comment Found