linux 清空文件内容命令

清空文件内容命令

$ echo "" >log.log

> 是重写,覆盖式

>>是尾部追加

原文地址:https://www.cnblogs.com/toSeeMyDream/p/5344636.html