$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 是一个 支持 $BASH_ARGV0 的 Bash 集成开发工具 – 马上试用!