linux 清空文件内容命令

清空文件内容命令

$ echo "" >log.log

> 是重写,覆盖式

>>是尾部追加

原文地址:https://www.cnblogs.com/davidwang456/p/3757502.html