LPIC-1 Exam 101 (Linux Administrator) — Question 53

What is the output of the following command?
echo "Hello World" | tr -d aieou

Answer options

Correct answer: C

Explanation

The command uses 'tr -d' to delete all vowels from the input string 'Hello World'. Therefore, the output removes 'e', 'o', and 'o', resulting in 'Hll Wrld'. Options A, B, and D do not reflect this outcome as they either retain the vowels or are incorrect combinations.