The output of the following command:
```shell
echo "Hello World" | tr -d aieou
```
is:
C. Hll Wrld
The `tr` command is used to delete characters specified in its argument. In this case, it deletes the characters "a," "i," "e," "o," and "u" from the input string "Hello World," resulting in "Hll Wrld."
The tr command is a UNIX command-line utility for translating or deleting characters. It supports a range of transformations including uppercase to lowercase, squeezing repeating characters, deleting specific characters, and basic find and replace. It can be used with UNIX pipes to support more complex translation. How to delete specified characters using -d option. To delete specific characters use the -d option. This option deletes characters in the first set specified.
$ echo "Welcome To GeeksforGeeks" | tr -d W
Output:
elcome To GeeksforGeeks
upvoted 1 times
...
Log in to ExamTopics
Sign in:
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.
DuboisNicolasDuclair
1 year, 4 months agociola89
1 year, 6 months ago