【发布时间】:2012-01-24 09:54:06
【问题描述】:
我想在 Mac 终端中执行一系列命令。是否可以准备一个包含一系列命令的文件,并通过终端提交文件?例如... commands.txt 包含多个命令,每行一个:
./executable_file -f sub_a 100
./executable_file -f sub_b 100
./executable_file -f sub_c 100
./executable_file -f sub_d 100
...
我该怎么做?
【问题讨论】: