$3
–
3rd Positional Parameter
$3
is the value of the third positional parameter.
Links
Examples
- Print 3rd parameter value
1
echo $3
- Print with a fallback value
1
echo ${3-Fallback value}
BashSupport Pro 是一款 Bash 和 POSIX 集成开发环境,支持 $3 - 立即试用!