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 does the “echo” command do?
What is grep and how do you use it?
What is the command to find hidden files in the current directory?
How do I clear my terminal history?
What is the unix command to confirm a remote host is alive or not?
How do you grep a case insensitive?
What is the use of find command in unix?
Which command is used to create a directory?
What do know about tee command?
What does this command do? Cat food 1 > kitty
What is awk good for?
What is used to type command?
How do I run a bash script?
What is rmdir command?
Describe the usage and functionality of the command rm –r * in unix?