我有一个list文件,里面包含了很多条命令,部分如下:
..........
cd /home/dengxj/RIFdock/MD-SIL6-R/site2/paper_predictor/00005; /opt/software/rosetta_src_2021.16.61629_bundle/main/source/bin/rosetta_scripts.mpi.linuxgccrelease -parser:protocol /home/dengxj/RIFdock/supplemental_files/cao_2021_protocol/paper_predictor.xml -beta_nov16 -in:file:silent /home/dengxj/RIFdock/MD-SIL6-R/site2/rifdock_out_splits/xaf.silent -keep_input_scores False -silent_read_through_errors -out:file:score_only score.sc -mute protocols.rosetta_scripts.ParsedProtocol.REPORT -parser:script_vars CAO_2021_PROTOCOL=/home/dengxj/RIFdock/supplemental_files/cao_2021_protocol @/home/dengxj/RIFdock/MD-SIL6-R/site2/predictor.flags -mute all > /dev/null 2>&1
cd /home/dengxj/RIFdock/MD-SIL6-R/site2/paper_predictor/00006; /opt/software/rosetta_src_2021.16.61629_bundle/main/source/bin/rosetta_scripts.mpi.linuxgccrelease -parser:protocol /home/dengxj/RIFdock/supplemental_files/cao_2021_protocol/paper_predictor.xml -beta_nov16 -in:file:silent /home/dengxj/RIFdock/MD-SIL6-R/site2/rifdock_out_splits/xag.silent -keep_input_scores False -silent_read_through_errors -out:file:score_only score.sc -mute protocols.rosetta_scripts.ParsedProtocol.REPORT -parser:script_vars CAO_2021_PROTOCOL=/home/dengxj/RIFdock/supplemental_files/cao_2021_protocol @/home/dengxj/RIFdock/MD-SIL6-R/site2/predictor.flags -mute all > /dev/null 2>&1
cd /home/dengxj/RIFdock/MD-SIL6-R/site2/paper_predictor/00007; /opt/software/rosetta_src_2021.16.61629_bundle/main/source/bin/rosetta_scripts.mpi.linuxgccrelease -parser:protocol /home/dengxj/RIFdock/supplemental_files/cao_2021_protocol/paper_predictor.xml -beta_nov16 -in:file:silent /home/dengxj/RIFdock/MD-SIL6-R/site2/rifdock_out_splits/xah.silent -keep_input_scores False -silent_read_through_errors -out:file:score_only score.sc -mute protocols.rosetta_scripts.ParsedProtocol.REPORT -parser:script_vars CAO_2021_PROTOCOL=/home/dengxj/RIFdock/supplemental_files/cao_2021_protocol @/home/dengxj/RIFdock/MD-SIL6-R/site2/predictor.flags -mute all > /dev/null 2>&1
............
当我把每一条命令单独提交时能够成功运行,但是这样一条一条提交会比较麻烦,所以我就想把这个list文件变成可执行程序,直接运行程序,但是运行程序后却出现“模糊的重定向”问题。也试过用parallel来运行list文件,但也是同样的报错,请问问题出在哪里呢?有朋友能解答吗?谢谢
![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/154915393856118.jpg?x-oss-process=image/auto-orient,1/resize,w_320,m_lfit)
我想要达到的结果