linux下直接清空日志的方法

cat /dev/null > slow.log
或者直接输入
>slow.log

posted @ 2020-02-29 10:18  0DayBug  阅读(173)  评论(0)    收藏  举报