linux遍历文件列表
for i in `ls` do echo $i done
例子: 1.循环压缩文件
for i in `ls` do echo $i zip -v $i.zip $i done