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
Write a command that will display files in the current directory, in a colored, long format.
What command is used to check the current users?
What does the command ' $who | sort –logfile > newfile' do?
What is “chmod” command?
What are some command words?
What are grep patterns?
Which command is used to kill the last background job?
What is the use of the command 'ls -x chapter[1-5]' ?
What are reported commands?
What is $0 bash?
What does find command return in unix?
What is grep command in unix with examples?
What is the use of find command in unix?
how to sort the content of the file based on numeric values
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?