mksh.sh #!/bin/bash for i in $@ do touch ${i} chmod 777 ${i} echo #!/bin/bash>${i} done mkcpptest.sh #!/bin/bash for i in $@ do touch ${i} echo '#include #include using namespace std; int main(int argc, char** argv){ return 0; }'>${i} done #创建 cppF=tim