$1: 1st Positional Parameter

$1 is the value of the first positional parameter.

Examples

Print 1st parameter value
1
echo $1
Print with a fallback value
1
echo ${1-Fallback value}
BashSupport Pro ist eine Bash IDE mit Unterstützung für $1probieren Sie es aus!
© 2020–2024 Joachim Ansorg
Impressum
Datenschutz
Rechtliches