/ 的意思:
目录级别分隔符
. 的意思:
当前目录
./a 的意思就是:
当前目录下文件名为“a”的文件。
Linux中还有 … 代表上级目录
num=2
echo "this is the $numnd" # 输出 this is the — shell 尝试寻找 $numnd 的值
echo "this is the ${num}nd" # 输出 this is the 2nd — 修好了!
# 花括号可以隔开变量名,但是放歪了的话…
echo "this is the {$num}nd" # 输出 this is the {2}nd — 切是切开了,但是…