exam questions

Exam LX0-103 All Questions

View all questions & answers for the LX0-103 exam

Exam LX0-103 topic 3 question 14 discussion

Actual exam question from CompTIA's LX0-103
Question #: 14
Topic #: 3
[All LX0-103 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
linux_admin
2 years, 2 months ago
C.Hll Wrid The "echo" command outputs the string "Hello World". The pipe symbol "|" sends the output from the echo command as input to the next command, "tr". The "tr" command is used to translate or delete characters from the input. In this case, the option "-d" is used to delete characters and the argument "aieou" specifies the characters to be deleted. So, the output of the command "echo "Hello World" | tr -d aieou" will be "Hll Wrld", as all the vowels 'a', 'i', 'e', 'o', 'u' have been deleted.
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