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