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 .sh file?
Explain the steps that a shell follows while processing a command.
What is the function of grep command in unix?
Why is it called grep?
What are the commands in UNIX to list the files in a Directory?
What does 'mkdir' command do in UNIX?
What are the differences among a system call, a library function, and a unix command?
What is the search command in unix?
Why is awk called awk?
What is the difference between cat command and more command?
How do I open a port?
What is the pipe command?
how to sort the content of the file based on numeric values
What is difference between grep and find command in unix?
Which command is used to kill the last background job?