$9  –  9th Positional Parameter

$9 is the value of the ninth positional parameter.

Examples

Print 9th parameter value
1
echo $9
Print with a fallback value
1
echo ${9-Fallback value}
BashSupport Pro is a Bash and POSIX IDE with support for $9try it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal