ls -CF /absolute_path/Annotation_ko_[0-9].sh | awk '{print "qsub -cwd -l vf=2g -l num_proc=4 -q af.q "$0}' > ko.1.10.qsub.sh
##手动加入两位数10.sh
$ sh ko.1.10.qsub.sh
Your job 3720299 ("Annotation_ko_1.sh") has been submitted
Your job 3720304 ("Annotation_ko_2.sh") has been submitted
Your job 3720307 ("Annotation_ko_3.sh") has been submitted
Your job 3720309 ("Annotation_ko_4.sh") has been submitted
Your job 3720311 ("Annotation_ko_5.sh") has been submitted
Your job 3720313 ("Annotation_ko_6.sh") has been submitted
Your job 3720317 ("Annotation_ko_7.sh") has been submitted
Your job 3720320 ("Annotation_ko_8.sh") has been submitted
Your job 3720322 ("Annotation_ko_9.sh") has been submitted
Your job 3720324 ("Annotation_ko_10.sh") has been submitted
control + a 跳转至命令行开头 control + e 跳转至命令行结尾
网友评论