linux 清空文件内容命令

linux 清空文件内容命令

清空文件内容命令

$ echo "" >log.log

> 是重写,覆盖式

>>是尾部追加