for i in `ls`;do if [ -d $i ];then cd $i if [ -f *.sh ];then qsub -cwd -pe smp 8 -q asm.q,all.q *sh fi cd .. fi done
2、