linux中,单引号和双引号的区别

来源:互联网 发布:ftp服务器源码 编辑:程序博客网 时间:2024/05/16 08:22
[root@xx ~]# name=VBird
[root@xx ~]# echo $name
VBird
[root@xx ~]# echo '$name is a'
$name is a
[root@xx ~]# echo "$name is a"
VBird is a
0 0