$8  –  8th Positional Parameter

$8 is the value of the eighth positional parameter.

Examples

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