Linux下清空日志的三种方法

echo " " > test.log

> test.log

cat /dev/null > test.log

 

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