在shell运行命令中,单双引号总能引起或多或少的话题讨论,这边做个小总结 先看以下例子: sosodream@ubuntu:~>echo '/t'|xxd + xxd + echo '/t' 0000000: 5c74 0a /t. sosodream@ubuntu:~>echo -e '/t'|xxd + xxd + echo -e '/t' 0000000: 090a .. sosodream@ubuntu:~>echo $'/t'|xxd + xxd + echo ' ' 0000000: 090a .. sosodream@ubuntu:~>echo -e $'/t'|xxd + xxd + echo -e ' ' 0000000: 090a .. sosodream@ubuntu:~>echo "/t"|xxd + xxd + echo '/t' 0000000: 5c74 0a /t. sosodream@ubuntu:~>echo -e "/t"|xxd + xxd + echo -e '/t' 0000000: 090a .. so