Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Linux question 1.Use egrep and a regular expression to find all the movies in /t

ID: 3848399 • Letter: L

Question

Linux question

1.Use egrep and a regular expression to find all the movies in /tmp/bette.txt that have at least one repeated uppercase letter, such as The Watcher in the Woods (1980). (Note the two occurrences of W.)

2.Use egrep and a regular expression to find the one word in /usr/share/dict/words that has ELEVEN consecutive consonants, regardless of case.

3. Use egrep and a regular expression to find the one word in /usr/share/dict/words that starts and ends with the same eight characters.

4. Use egrep and a regular expression to find all the all-vowel (regardless of case) words in /usr/share/dict/words.

5. Use egrep and a regular expression to find the one word in /usr/share/dict/words that is composed entirely of 8 consonants (regardless of case).

Explanation / Answer

4. Use egrep and a regular expression to find all the all-vowel (regardless of case) words in /usr/share/dict/words.

egrep -i 'ˆ[aeiou]*$' /usr/share/dict/words

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote