我.sh在一个文件夹中有很多脚本,并希望一个接一个地运行它们.单个脚本可以执行为:
.sh
bash wget-some_long_number.sh -H
假设我的目录是 /dat/dat1/files
/dat/dat1/files
我怎么能bash wget-some_long_number.sh -H一个接一个地跑?
我理解这些内容应该有效:
for i in *.sh;...do ....; done
linux bash shell
bash ×1
linux ×1
shell ×1