Ask Question
10 August, 03:43

In Linux: What command would you give to list all English-language words that are exactly 5 characters long and that have a lower-case vowel (‘a’, ‘e’, ‘i’, ‘o’, ‘u’, or ‘y’) in the second position, and end with ‘t’?

+2
Answers (1)
  1. 10 August, 04:19
    0
    grep '^.[aeiouy] ... [t]$' / usr/share/dict/words

    Explanation:

    The grep command is usually used in this situation.

    ^. The first dot in the command represents the first character of the word.

    [aeiouy] represents lower-case vowel in the second position of any 5 character word the second charactere must be a lower case vowel.

    ... The next two dots represents the next two characters of any 5 character word.

    [t] represents the last character of any 5 character word because the last letter ends with t.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “In Linux: What command would you give to list all English-language words that are exactly 5 characters long and that have a lower-case ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers