Shell script: $@的含义

执行Shell脚本时,$@代表所有参数。例如,当Shell命令为 ./someScript.sh foo bar, 则 $@ 等于 foo bar

参考
https://stackoverflow.com/questions/9994295/what-does-mean-in-a-shell-script

你可能感兴趣的:(Shell script: $@的含义)