a="hello"
[localhost.localdomain 10:16:09]$echo ‘echo %a‘输出:echo %a
[localhost.localdomain 10:15:19]$echo "echo $a"输出:echo hello [localhost.localdomain 10:15:27]$echo echo $a输出:hello
echo $a
“” ‘‘ ``区别 初学者自用
原文:http://blog.51cto.com/12580998/2155469