1.

Which option is used with the tail command for extracting bytes instead of lines?(a) -f(b) -n(c) -c(d) -aThe question was posed to me in an international level competition.Enquiry is from Filtering Commands in chapter Simple Filters of Unix

Answer»

Correct answer is (c) -c

The explanation is: tail command supports the -c option followed by a positive integer or just an integer depending on WHETHER the EXTRACTION is performed RELATIVE to the beginning or END of the file. For example,



Discussion

No Comment Found

Related InterviewSolutions