[appuser@test ~]$ echo ml ml ml ml
ml ml ml ml
[appuser@test ~]$ echo 'ml ml ml ml'
ml ml ml ml
[appuser@test ~]$ name='ml'
[appuser@test ~]$ echo $name
ml
[appuser@test ~]$ echo 'she is $name'
she is $name
[appuser@test ~]$ echo "she is $name"
she is ml
[appuser@test ~]$
shell中区分单引号和双引号
最新推荐文章于 2024-08-23 14:35:01 发布