$1
: 1st Positional Parameter
$1
is the value of the first positional parameter.
Links
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 $1 – probieren Sie es aus!