Give a regular expression that finds two things, try to
come up with regular expressions that find each
individually using "egrep" command?
Answer Posted / niranjan
Gud command egrep but it not available in all unix flaviours.
grep -e option do the same as egrep
syntax:-
egrep 'pattern1|pattern2|pattern3' filename
grep -e 'pattern1' -e 'pattern2' -e 'pattern3' filename
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What do chmod command do?
Name the unix command to find how many days the server has been up.
Explain ‘library functions’ with respect to unix commands?
What is the use of the tee command?
What does awk stand for?
How do I clear my terminal history?
Why is grep called grep?
What are bash commands?
Name the general commands in using unix os for a beginner?
What does grep v grep do?
What is $0 bash?
Who command in unix operating system?
How do you grep a case insensitive?
What's a command word?
Why is it called grep?