1. 查找bash路径
# which bash
/usr/bin/bash
#!/usr/bin/bash
i=1
while [ $i -le 10 ]
do
i=$(($i+1))
dd if=/dev/zero of=file$i.txt bs=2G count=1
echo "file$i"
done
while true;
do
find /testrm/ -size 2G | xargs -n 1 rm -rf
#/bin/sleep 1 find /testrm/ -size 2G | xargs -n 1 rm -rf 每秒钟执行一次
done