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
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.