1.

Which option is used when we want to use an ERE with grep command?(a) -e(b) -i(c) -E(d) -iI had been asked this question during an online exam.I want to ask this question from grep command in chapter Filters using Regular Expressions of Unix

Answer»

The correct option is (C) -E

The best EXPLANATION: grep command SUPPORTS both categories of regular expressions. It supports basic regular expression by DEFAULT and EXTENDED regular expression with -E option.



Discussion

No Comment Found

Related InterviewSolutions