1.

What is the default delimiter used by the cut command for cutting fields?(a) space(b) tab(c) double tab(d) underscoreI have been asked this question in final exam.My doubt is from Filtering Commands topic in division Simple Filters of Unix

Answer»

The correct answer is (b) tab

The explanation is: To EXTRACT USEFUL data from a file, we use the cut command to cut FIELDS rather than columns. The cut command uses tab as the DEFAULT delimiter to cut fields.



Discussion

No Comment Found

Related InterviewSolutions