Linux下清空日志的三种方法

echo " " > test.log

> test.log

cat /dev/null > test.log

 

posted @ 2017-04-04 22:40  jerry&ssj  阅读(16834)  评论(4)    收藏  举报