linux环境下shell脚本主要有以下三种执行方式: ./ xxx.shsh xxx.shbash xxx.sh shell环境下shell脚本主要有以下三种执行方式: . xxx.shsource xxx.sh