Bash Shell脚本

echo

1.

echo "It is $num"

等价于

echo It is $num

且$num为变量的值。

2.

echo 'It is $num'

则代表了"It is $num"这个字符串。

发布了5 篇原创文章 · 获赞 0 · 访问量 181

猜你喜欢

转载自blog.csdn.net/qq_42890800/article/details/104117558
今日推荐