1.

_____ option is used when we need to match multiple patterns in a single invocation of grep command?(a) -a(b) -e(c) -n(d) -iI have been asked this question in exam.I'm obligated to ask this question of grep command in chapter Filters using Regular Expressions of Unix

Answer» CORRECT choice is (B) -e

Explanation: grep provides an OPTION (-e) which is used when we want to match MULTIPLE patterns in a single invocation of the command. For example, the following command will match three agarwals:


Discussion

No Comment Found

Related InterviewSolutions