首页 > 技术文章 > Linux下使用echo命令清空文件内容
wpcnblog 2020-06-04 15:09 原文
发现日志文件很大,使用rm命令又要重启服务
使用echo命令:echo "" > catalina.out ,完全清空