2nd Positional Parameter
$2
is the value of the second positional parameter.
Links
Examples
Print 2nd parameter value :
|
|
Print with a fallback value :
|
|
BashSupport Pro 是一个 支持 $2 的 Bash 集成开发工具 – 马上试用!
$2
is the value of the second positional parameter.
Print 2nd parameter value :
|
|
Print with a fallback value :
|
|