test.sh文件:
#!/bin/bash for file in `ls`;do echo $file done
输出
bogon:test macname$ chmod +x test.sh bogon:test macname$ ./test.sh case html report run.sh test.sh
参考:
test.sh文件:
#!/bin/bash for file in `ls`;do echo $file done
输出
bogon:test macname$ chmod +x test.sh bogon:test macname$ ./test.sh case html report run.sh test.sh
参考: