$10
–
10th Positional Parameter
$10 is the value of the tenth positional parameter.
It has to be referenced as parameter expansion, e.g. ${10}.
Links
Examples
- Print 10th parameter value
1echo ${10}- Print with a fallback value
1echo ${10-Fallback value}
BashSupport Pro 是一款 Bash 和 POSIX 集成开发环境,支持 $10 - 立即试用!