Question: what is the difference between grep and egrep in unix?
Answer: grep and egrep does the same function, but the way they interpret the pattern is the only difference. Grep stands for "Global Regular Expressions Print", were as Egrep for "Extended Global Regular Expressions Print". ... The grep command will check whether there is any file with . text|.