反引号 和$()

将命令执行的结果赋值给一个变量 bb ,并打印bb

这里写图片描述

或者使用反引号

这里写图片描述

猜你喜欢

转载自blog.csdn.net/qq_27263265/article/details/73506058