Question: In Linux: Type cd/usr/share/dict. The file words is the Linux English dictionary. You will use egrep to explore this file. Your answers below will be
In Linux:
Type cd/usr/share/dict. The file words is the Linux English dictionary. You will use egrep to explore this file. Your answers below will be the egrep command that solves the problem.
7. List all words that have the letter a followed immediately by the letter z.
8. List all words that have the letter a followed sometime later by the letter z (there must be at least one letter in between).
9. List all words that start with the letter a and end with the letter z.
10. List all words that start with two capital letters followed immediately by at least one lower case letter.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
