清空文件内容命令 $ echo "" >log.log > 是重写,覆盖式 >>是尾部追加 转载于:https://www.cnblogs.com/toSeeMyDream/p/5344636.html