linux怎么清空日志文件呢,下面就让我们来看看吧。
1、打开linux系统,在linux的桌面的空白处右击。
3、在终端窗口中输入find . -type f -name ".log" -mtime +$num -delete命令即可删除掉日志。
以上就是小编的分享,希望能帮助到大家。