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
题解
「tr」指令可以取代输入字符串中的某些字符。加上「-d」参数表示删除找到的字符。
所以题目的指令会把「Hello World」的元音去除,变成「Hll Wrld」。
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
What is the output of the following command?
A.
B.
C.
D.
「tr」指令可以取代输入字符串中的某些字符。加上「-d」参数表示删除找到的字符。
所以题目的指令会把「Hello World」的元音去除,变成「Hll Wrld」。