Linux下清空日志的三种方法

echo " " > test.log

> test.log

cat /dev/null > test.log

原文地址:https://www.cnblogs.com/rency/p/6666814.html