标签:自动清理
#!/bin/bash #by wang pwd="/tmp/user13.log" if [ -f $pwd ] then clear=`ls -l $pwd |awk ‘{print $5}‘` while [ $clear -gt 30000 ] do echo "" > $pwd break done fi
本文出自 “Steven一直不放弃” 博客,请务必保留此出处http://wsw26.blog.51cto.com/1442148/1769492
标签:自动清理
原文地址:http://wsw26.blog.51cto.com/1442148/1769492