shell腳本依序創建10個文本

腳本如下: #!/bin/bash cd /tmp/ mkdir shell_tut cd shell_tut for ((i=0; i<10; i++)); do touch test_$i.txt done 執行結果:
相關文章
相關標籤/搜索