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