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 the command 'ls -x chapter[1-5]' ?
Who wrote grep?
Name the various commands that are used for the user information in unix.
What is the functionality of a top command?
What does #!/ Bin sh do?
How do I run a bash script?
What is the use of sed command in unix?
What do chmod, chown, chgrp commands do?
Explain ‘system calls’ with respect to unix commands?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Which command is used to create a directory?
What is grep and how do you use it?
What is updatedb?
What is {} in find command?
Is ‘du’ a command? If so, what is its use?