1.

___ command is used for displaying the end of the file.(a) head(b) tail(c) lp(d) prThe question was posed to me during an interview for a job.I would like to ask this question from Filtering Commands in section Simple Filters of Unix

Answer»

Right answer is (b) tail

To explain I would say: Complementing the HEAD COMMAND, the tail command is used to display the END of the file. It provides an additional feature of addressing lines. By default, it DISPLAYS the last ten lines of the file.



Discussion

No Comment Found

Related InterviewSolutions