Give a regular expression that finds two things, try to
come up with regular expressions that find each
individually using "egrep" command?
Answer Posted / linuxdemon(vjsujay@gmail.com)
vjsujay@vjsujay-desktop:~/test$ cat jsk
cake
coke
vjsujay@vjsujay-desktop:~/test$ egrep 'c(a|o)ke' jsk
cake
coke
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the use of find command in unix?
How can you see the command line history?
Explain command to display different lines that are found when compare two files?
What is used to type command?
What does 'mkdir' command do in UNIX?
What is the comma to display different lines that are found when compare two files?
Who invented grep?
What are the unix commands?
What does awk stand for?
How do I use grep to search for a file?
What is the behavioural difference between cmp and diff commands?
What is $0 bash?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do I use grep to find a file?
Can you enlist some commonly used network commands?