exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 52 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 52
Topic #: 1
[All LFCS Questions]

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

  • A. Hello World
  • B. eoo
  • C. Hll Wrld
  • D. eoo Hll Wrld
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Strib
6 months, 4 weeks ago
Selected Answer: C
The output of the command echo "Hello World" | tr -d aieou is: C. Hll Wrld Explanation: The tr command is used to translate or delete characters. In this case, the -d option is used to delete (remove) the characters specified after it. The characters specified in this command are "a," "i," "e," "o," and "u." So, when the command is executed, it removes all occurrences of the letters "a," "i," "e," "o," and "u" from the input string "Hello World." As a result, the output becomes "Hll Wrld."
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago