ip="10.132.122.143"
port="1521"
database="dwdb"
username="bi_zqdw"
password="Zqdw#2021"
set -x
for file in ~/etl_app/fa45/script/ld/boi/*.sh
do
if test -f $file;then
# arr=(${arr[*]} $file)
command="$file $ip $port $database $username $password"
# echo "$command"
sh $command
fi
done
shell跑数命令
Guess you like
Origin blog.csdn.net/jtpython666/article/details/121609678
Recommended
Ranking