$BASH_ARGV0
–
Name of the Shell or Script
$BASH_ARGV0 expands to the name of the current shell or script. Values assigned to it also apply to $0.
Links
Examples
- Override
$BASH_ARGV0and$0 1 2BASH_ARGV0=/bin/bash echo $BASH_ARGV0 $0
BashSupport Pro ist eine Bash IDE mit Unterstützung für $BASH_ARGV0 – probieren Sie es aus!