1.

What does grep do in UNIX?(a) It is an editor in UNIX(b) It searches for text patterns(c) Both (a) and (b)(d) None of the mentionedI had been asked this question by my school principal while I was bunking the class.My question comes from Regular Expression in UNIX topic in division Regular Expressions and Languages of Automata Theory

Answer»

Right answer is (b) It searches for text patterns

The explanation: The grep is a STANDARD UNIX utility PROGRAM that searches through a set of files in search of a text pattern,specified through a REGULAR expression.



Discussion

No Comment Found

Related InterviewSolutions