写一个shell脚本,循环每隔3分钟生成一个新的文本文件

如题所述

第1个回答  2015-07-30
#!/bin/bash

i=1
while :
do
touch text$i
((i++))
sleep 180
done本回答被网友采纳
相似回答