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 :
|
|
Print with a fallback value :
|
|
BashSupport Pro 是一个 支持 $10 的 Bash 集成开发工具 – 马上试用!