Linux CLI - Text ProcessingYou want to replace all vowels in a string with '*'. Which command achieves this?Aecho "hello" | tr 'aeiou' '*'Becho "hello" | tr 'aeiou' 'AEIOU'Cecho "hello" | tr -d 'aeiou'Decho "hello" | tr 'aeiou' '12345'Check Answer
Step-by-Step SolutionSolution:Step 1: Identify vowels to replaceVowels are 'a', 'e', 'i', 'o', 'u'.Step 2: Replace vowels with '*'Using tr 'aeiou' '*' replaces each vowel with '*'.Final Answer:echo "hello" | tr 'aeiou' '*' -> Option AQuick Check:Vowels replaced by '*' = echo "hello" | tr 'aeiou' '*' [OK]Quick Trick: Map vowels to '*' using tr sets [OK]Common Mistakes:Replacing vowels with lettersDeleting vowels instead of replacingUsing wrong target length
Master "Text Processing" in Linux CLI9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Linux CLI Quizzes Networking Commands - curl for HTTP requests - Quiz 11easy Pipes and Redirection - stdin redirection (<) - Quiz 10hard Pipes and Redirection - stdin redirection (<) - Quiz 7medium Searching and Finding - find command basics - Quiz 8hard Searching and Finding - find by modification time - Quiz 3easy Searching and Finding - find with -exec for actions - Quiz 3easy Text Processing - cut (extract columns) - Quiz 14medium Text Processing - awk patterns and actions - Quiz 1easy Text Processing - grep with regex (-E) - Quiz 13medium Text Processing - grep (search text patterns) - Quiz 13medium