Linux Foundation Certified System Administrator (LFCS) — Question 93

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

Answer options

Correct answer: C

Explanation

The command 'echo "Hello World" | tr -d aieou' removes all vowels from the input string. Therefore, the resulting output will be 'Hll Wrld', which corresponds to option C. Options A and B include characters that have not been removed, while option D adds 'eoo', which is incorrect.