Ask Question
23 September, 09:16

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

+1
Answers (1)
  1. 23 September, 09:45
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers