Ask Question
14 June, 11:20

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’?

+3
Answers (1)
  1. 14 June, 13:58
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers