$

展开 Bash 变量。 更多信息:https://gnu.org/software/bash/manual/bash.html#Shell-Variables.

echo ${{变量名}}

echo $?

echo $RANDOM

echo ${{PS0|PS1|PS2|PS3|PS4}}

$({{命令}})

echo $#

echo ${array[@]}