$3: 3rd Positional Parameter

$3 is the value of the third positional parameter.

Examples

Print 3rd parameter value
1
echo $3
Print with a fallback value
1
echo ${3-Fallback value}
BashSupport Pro 是一个 支持 $3 的 Bash 集成开发工具 – 马上试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款