最近,我使用 echo 命令在它前面加上 $ 前缀。令我惊讶的是,结果是一个错误。我的命令是这样的。
# !/bin/bash $(echo 'a')
错误是..
./test1.sh: line 3: a: command not found
谁能解释这里发生了什么。提前致谢。
shell echo
echo ×1
shell ×1