$10  –  10th Positional Parameter

$10 is the value of the tenth positional parameter. It has to be referenced as parameter expansion, e.g. ${10}.

Examples

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