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