1.

Which command is used for displaying the beginning of a file?(a) pr(b) head(c) begin(d) lpThe question was posed to me by my college director while I was bunking the class.Query is from Filtering Commands topic in division Simple Filters of Unix

Answer»

The correct choice is (b) HEAD

The explanation: The head command is USED for displaying the top of the file. As the name SUGGESTS, it DISPLAYS the beginning of the file which is specified as an argument to the command. For example,



Discussion

No Comment Found

Related InterviewSolutions